summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorStephen Powell <zlinuxman@wowway.com>2010-07-02 08:05:28 +0200
committermaximilian attems <maks@debian.org>2010-07-08 15:09:03 +0200
commitff6116f97b557fd337993a8cc87403021e581325 (patch)
treeb1f860e5104b90fa3da45da2f8540e54741c9039 /kernel
parent09d251adb669002cbfcd5fd330e1c6471f6fc644 (diff)
downloadinitramfs-tools-ff6116f97b557fd337993a8cc87403021e581325.tar.gz
initramfs-tools-ff6116f97b557fd337993a8cc87403021e581325.zip
Redirect STDOUT to STDERR for post{inst,rm} hooks
Avoids output being swallowed by debconf's redirection of STDOUT. Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'kernel')
-rwxr-xr-xkernel/postinst.d/initramfs-tools2
-rwxr-xr-xkernel/postrm.d/initramfs-tools2
2 files changed, 2 insertions, 2 deletions
diff --git a/kernel/postinst.d/initramfs-tools b/kernel/postinst.d/initramfs-tools
index 5005ca4..d4db23d 100755
--- a/kernel/postinst.d/initramfs-tools
+++ b/kernel/postinst.d/initramfs-tools
@@ -28,4 +28,4 @@ if [ -n "$DEB_MAINT_PARAMS" ]; then
fi
# we're good - create initramfs. update runs do_bootloader
-update-initramfs -c -t -k "${version}" ${bootopt}
+update-initramfs -c -t -k "${version}" ${bootopt} >&2
diff --git a/kernel/postrm.d/initramfs-tools b/kernel/postrm.d/initramfs-tools
index 7811589..4e8f73b 100755
--- a/kernel/postrm.d/initramfs-tools
+++ b/kernel/postrm.d/initramfs-tools
@@ -26,4 +26,4 @@ if [ -n "$DEB_MAINT_PARAMS" ]; then
fi
# delete initramfs
-update-initramfs -d -t -k "${version}" ${bootopt}
+update-initramfs -d -t -k "${version}" ${bootopt} >&2