summaryrefslogtreecommitdiff
path: root/scripts/build/binary_grub2
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-04 12:52:01 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:20 +0100
commitb37dd32db4c5e426ff4fa15bbd849aaea3d44691 (patch)
tree101a64feed0d65f0148c96694403d50093bc2f6b /scripts/build/binary_grub2
parentf21aa58cb7677806d4271898f200bcd5d42167f2 (diff)
downloadlive-build-b37dd32db4c5e426ff4fa15bbd849aaea3d44691.zip
live-build-b37dd32db4c5e426ff4fa15bbd849aaea3d44691.tar.gz
Adding support for standalone live-boot as initramfs generator.
Diffstat (limited to 'scripts/build/binary_grub2')
-rwxr-xr-xscripts/build/binary_grub28
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/binary_grub2 b/scripts/build/binary_grub2
index 33f7ebb..3813c76 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}"