diff options
author | Daniel Baumann <daniel@debian.org> | 2010-09-04 12:52:01 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:20 +0100 |
commit | b37dd32db4c5e426ff4fa15bbd849aaea3d44691 (patch) | |
tree | 101a64feed0d65f0148c96694403d50093bc2f6b /scripts/build/chroot_hacks | |
parent | f21aa58cb7677806d4271898f200bcd5d42167f2 (diff) | |
download | vyos-live-build-b37dd32db4c5e426ff4fa15bbd849aaea3d44691.tar.gz vyos-live-build-b37dd32db4c5e426ff4fa15bbd849aaea3d44691.zip |
Adding support for standalone live-boot as initramfs generator.
Diffstat (limited to 'scripts/build/chroot_hacks')
-rwxr-xr-x | scripts/build/chroot_hacks | 10 |
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 |