Disabling call to "update-initramfs" in lh_chroot_hacks.
Users who are modifying initramfs scripts via chroot_local-includes should really run update-initramfs themselves - this wasn't possible until fairly recently due to re-ordering of calls from lh_chroot. Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
parent
e74a26afdb
commit
6ed6f6a172
|
@ -74,9 +74,6 @@ then
|
||||||
rm -f /etc/initramfs-tools/conf.d/resume
|
rm -f /etc/initramfs-tools/conf.d/resume
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Update initramfs
|
|
||||||
Chroot "update-initramfs -k all -t -u"
|
|
||||||
|
|
||||||
# Ensure readable permissions on initramfs. loop-aes-utils sets umask to
|
# Ensure readable permissions on initramfs. loop-aes-utils sets umask to
|
||||||
# protect GPG keys, which live-helper does not support.
|
# protect GPG keys, which live-helper does not support.
|
||||||
chmod go+r chroot/boot/initrd*
|
chmod go+r chroot/boot/initrd*
|
||||||
|
|
Loading…
Reference in New Issue