From b37dd32db4c5e426ff4fa15bbd849aaea3d44691 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 Sep 2010 12:52:01 +0200 Subject: Adding support for standalone live-boot as initramfs generator. --- scripts/build/chroot_hacks | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/build/chroot_hacks') 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 -- cgit v1.2.3