summaryrefslogtreecommitdiff
path: root/scripts/build/binary_grub
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_grub
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_grub')
-rwxr-xr-xscripts/build/binary_grub8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/binary_grub b/scripts/build/binary_grub
index b58b189..1597b3c 100755
--- a/scripts/build/binary_grub
+++ b/scripts/build/binary_grub
@@ -122,7 +122,7 @@ case "${LH_INITRAMFS}" in
INITFS="casper"
;;
- live-initramfs)
+ live-initramfs|live-boot)
INITFS="live"
;;
esac
@@ -135,7 +135,7 @@ case "${LH_BINARY_IMAGES}" in
DESTDIR_LIVE="binary/casper"
;;
- live-initramfs)
+ live-initramfs|live-boot)
DESTDIR_LIVE="binary/live"
;;
esac
@@ -171,7 +171,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}"
@@ -187,7 +187,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}"