summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_hacks
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_hacks')
-rwxr-xr-xhelpers/lh_chroot_hacks6
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