Always rebuilding initrd in chroot_hacks to avoid inclusion of previously removed udev rules (such as persistent devices).
This commit is contained in:
parent
97ec6952f8
commit
d182778609
|
@ -66,12 +66,12 @@ BOOT=nfs
|
|||
NFSROOT=auto
|
||||
EOF
|
||||
fi
|
||||
|
||||
# Update initramfs
|
||||
Chroot chroot "update-initramfs -k all -t -u"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Update initramfs (always, because of udev rules in initrd)
|
||||
Chroot chroot "update-initramfs -k all -t -u"
|
||||
|
||||
# Ensure readable permissions on initramfs. loop-aes-utils sets umask to
|
||||
# protect GPG keys, which live-helper does not support.
|
||||
# Note: Use find rather than chmod on the wildcard, one never knows what
|
||||
|
|
Loading…
Reference in New Issue