summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_grub
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:11 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:30 +0100
commit37a5c53ddd2825bf6b0ce521908a63d419683981 (patch)
tree0b0a8ea3072a4d6b9c37ce8efedb29d25a713e04 /helpers/lh_binary_grub
parent85c342c299231131d22764c0dfdcf977c57ce147 (diff)
downloadvyos-live-build-37a5c53ddd2825bf6b0ce521908a63d419683981.tar.gz
vyos-live-build-37a5c53ddd2825bf6b0ce521908a63d419683981.zip
Adding live-helper 1.0~a14-1.
Diffstat (limited to 'helpers/lh_binary_grub')
-rwxr-xr-xhelpers/lh_binary_grub6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_binary_grub b/helpers/lh_binary_grub
index 9300642d7..db26ae988 100755
--- a/helpers/lh_binary_grub
+++ b/helpers/lh_binary_grub
@@ -93,7 +93,7 @@ esac
# Setting destination directory
case "${LIVE_BINARY_IMAGES}" in
- iso|usb-hdd|hdd)
+ iso|tar|usb-hdd)
DESTDIR_LIVE="binary/live"
DESTDIR_INSTALL="binary/install"
;;
@@ -151,7 +151,7 @@ fi
if [ -n "${LIVE_HOSTNAME}" ]
then
- case "${LIVE_INITRAMFS}" in
+ case "${LH_INITRAMFS}" in
casper)
LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND} hostname=${LIVE_HOSTNAME}"
;;
@@ -245,7 +245,7 @@ case ${LIVE_BINARY_IMAGES} in
cp chroot/usr/lib/grub/*/stage2_eltorito binary/boot/grub
;;
- usb-hdd|hdd)
+ tar|usb-hdd)
cp chroot/usr/lib/grub/*/stage1 chroot/usr/lib/grub/*/stage2 binary/boot/grub
;;
esac