Always rebuilding initrd in chroot_hacks to avoid inclusion of previously removed udev rules (such as persistent devices).

This commit is contained in:
Daniel Baumann 2009-05-18 17:01:43 +02:00
parent 97ec6952f8
commit d182778609
1 changed files with 3 additions and 3 deletions

View File

@ -66,12 +66,12 @@ BOOT=nfs
NFSROOT=auto NFSROOT=auto
EOF EOF
fi fi
# Update initramfs
Chroot chroot "update-initramfs -k all -t -u"
;; ;;
esac 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 # 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.
# Note: Use find rather than chmod on the wildcard, one never knows what # Note: Use find rather than chmod on the wildcard, one never knows what