mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 15:39:08 +00:00
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:
parent
52213751da
commit
c48108dc0e
4
debian/TODO
vendored
4
debian/TODO
vendored
@ -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.
|
||||
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user