summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_hacks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-04 12:52:01 +0200
committerDaniel Baumann <daniel@debian.org>2010-09-04 12:52:01 +0200
commit09c9c6b8a1abce5c0c4400b2933ca2f6cde0ae2e (patch)
tree101a64feed0d65f0148c96694403d50093bc2f6b /scripts/build/chroot_hacks
parent256a7cffea2d898bab52e71f1b0bbf9a7e77c2de (diff)
downloadvyos-live-build-09c9c6b8a1abce5c0c4400b2933ca2f6cde0ae2e.tar.gz
vyos-live-build-09c9c6b8a1abce5c0c4400b2933ca2f6cde0ae2e.zip
Adding support for standalone live-boot as initramfs generator.
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 4417e332a..eb89021bc 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