diff options
author | Daniel Baumann <daniel@debian.org> | 2009-05-18 17:01:43 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:44 +0100 |
commit | d1827786093e620289b836220c2504ab8510ad50 (patch) | |
tree | 48640dafacf1dbacf8801ebc0282fcc8e8284085 /helpers/lh_chroot_hacks | |
parent | 97ec6952f8796a201cbb801a096134ddc2fa9346 (diff) | |
download | live-build-d1827786093e620289b836220c2504ab8510ad50.zip live-build-d1827786093e620289b836220c2504ab8510ad50.tar.gz |
Always rebuilding initrd in chroot_hacks to avoid inclusion of previously removed udev rules (such as persistent devices).
Diffstat (limited to 'helpers/lh_chroot_hacks')
-rwxr-xr-x | helpers/lh_chroot_hacks | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks index b33d637..6ed9ed8 100755 --- a/helpers/lh_chroot_hacks +++ b/helpers/lh_chroot_hacks @@ -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 |