From 11e87e54cc99fe75bec0ce0dbf33ca9e2c8917e0 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Fri, 19 Jun 2015 19:33:53 +0000 Subject: [PATCH] Have kexec-tools support /etc/default/kexec.d/ (refs #53). --- config/hooks/debian-752790:_kexec.d.chroot | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100755 config/hooks/debian-752790:_kexec.d.chroot diff --git a/config/hooks/debian-752790:_kexec.d.chroot b/config/hooks/debian-752790:_kexec.d.chroot new file mode 100755 index 0000000..1650fd0 --- /dev/null +++ b/config/hooks/debian-752790:_kexec.d.chroot @@ -0,0 +1,45 @@ +#!/bin/sh + +# Have kexec-tools support /etc/default/kexec.d/ +# Patch proposed on https://bugs.debian.org/752790 + +set -e +set -u + +# Use a subshell to make sure we don't mess up $PWD +( + +cd / +patch -p1 <