summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_hacks
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_hacks')
-rwxr-xr-xscripts/build/chroot_hacks10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build/chroot_hacks b/scripts/build/chroot_hacks
index 4417e33..eb89021 100755
--- a/scripts/build/chroot_hacks
+++ b/scripts/build/chroot_hacks
@@ -159,13 +159,13 @@ esac
# Update initramfs (always, because of udev rules in initrd)
case "${LH_INITRAMFS}" in
- live-initramfs)
- #UPDATE_INITRAMFS_OPTIONS="LIVE_GENERATE_UUID=1"
- ;;
-
casper)
UPDATE_INITRAMFS_OPTIONS="CASPER_GENERATE_UUID=1"
;;
+
+ live-initramfs|live-boot)
+ #UPDATE_INITRAMFS_OPTIONS="LIVE_GENERATE_UUID=1"
+ ;;
esac
Chroot chroot "${UPDATE_INITRAMFS_OPTIONS} update-initramfs -k all -t -u"
@@ -198,7 +198,7 @@ case "${LH_INITRAMFS}" in
ID="999"
;;
- *)
+ live-initramfs|live-boot)
ID="1000"
;;
esac