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/binary_grub2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/build/binary_grub2') diff --git a/scripts/build/binary_grub2 b/scripts/build/binary_grub2 index 33f7ebb6e..3813c7629 100755 --- a/scripts/build/binary_grub2 +++ b/scripts/build/binary_grub2 @@ -96,7 +96,7 @@ case "${LH_INITRAMFS}" in INITFS="casper" ;; - live-initramfs) + live-initramfs|live-boot) INITFS="live" ;; esac @@ -109,7 +109,7 @@ case "${LH_BINARY_IMAGES}" in DESTDIR_LIVE="binary/casper" ;; - live-initramfs) + live-initramfs|live-boot) DESTDIR_LIVE="binary/live" ;; esac @@ -145,7 +145,7 @@ then LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} username=${LH_USERNAME}" ;; - live-initramfs) + live-initramfs|live-boot) if [ "${LH_USERNAME}" != "user" ] then LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} username=${LH_USERNAME}" @@ -161,7 +161,7 @@ then LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} hostname=${LH_HOSTNAME}" ;; - live-initramfs) + live-initramfs|live-boot) if [ "${LH_HOSTNAME}" != "debian" ] then LH_BOOTAPPEND_LIVE="${LH_BOOTAPPEND_LIVE} hostname=${LH_HOSTNAME}" -- cgit v1.2.3