Revert "initramfs-tools: Install script to be invoked by linux-signed postinst"

This reverts commit b19d13e7049cc971aeaec30cb06740056407ddf6.
Binary packages built by linux-signed now contain a full kernel
and invoke the same hook scripts.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Ben Hutchings 2016-12-15 20:34:45 +00:00
parent 52213751da
commit c48108dc0e
2 changed files with 0 additions and 26 deletions

4
debian/TODO vendored
View File

@ -11,7 +11,3 @@ TODO
copy_exec, maybe use dracut copy logic.
o root loop support.
o Currently updating linux-image-foo and linux-image-foo-signed builds a
broken initramfs (without module signatures) and then a working one
(with signatures). This is both dangerous and a waste of time.

View File

@ -1,22 +0,0 @@
#!/bin/sh -e
version="$1"
command -v update-initramfs >/dev/null 2>&1 || exit 0
# passing the kernel version is required
if [ -z "${version}" ]; then
echo >&2 "W: initramfs-tools: ${DPKG_MAINTSCRIPT_PACKAGE:-signed kernel package} did not pass a version number"
exit 2
fi
# avoid running multiple times
if [ -n "$DEB_MAINT_PARAMS" ]; then
eval set -- "$DEB_MAINT_PARAMS"
if [ -z "$1" ] || [ "$1" != "configure" ]; then
exit 0
fi
fi
# we're good - create initramfs. update runs do_bootloader
INITRAMFS_TOOLS_KERNEL_HOOK=1 update-initramfs -c -t -k "${version}" >&2