diff options
author | Andres Salomon <dilinger@debian.org> | 2008-10-14 15:02:17 -0400 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2009-02-17 15:43:03 +0100 |
commit | 7812c98ccaf731b0d76909f924639af4e9554ed3 (patch) | |
tree | a683418e5d9a965c67f5d8990a7b1208b7362edc /kernel/postinst.d | |
parent | 13df18822a697053e10e8f42397e5237a15590f6 (diff) | |
download | initramfs-tools-7812c98ccaf731b0d76909f924639af4e9554ed3.tar.gz initramfs-tools-7812c98ccaf731b0d76909f924639af4e9554ed3.zip |
initramfs-tools: Readd support for linux-2.6 make deb-pkg target.
..via /etc/kernel
Signed-off-by: Andres Salomon <dilinger@debian.org>
(closes: #504551)
[ fixed update-initramfs postinst call s/-u/-c/ -maks ]
Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'kernel/postinst.d')
-rwxr-xr-x | kernel/postinst.d/initramfs-tools | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/postinst.d/initramfs-tools b/kernel/postinst.d/initramfs-tools new file mode 100755 index 0000000..1cb72a8 --- /dev/null +++ b/kernel/postinst.d/initramfs-tools @@ -0,0 +1,10 @@ +#!/bin/sh + +# passing the kernel version is required +[ -z "$1" ] && exit 0 + +# kernel-package passes an extra arg; hack to not run under kernel-package +[ -z "$2" ] || exit 0 + +# we're good - create initramfs. update runs do_bootloader +update-initramfs -c -t -k "$1" |