summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_syslinux
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_syslinux
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_syslinux')
-rwxr-xr-xhelpers/lh_binary_syslinux8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index 869bcc1f4..977796d2e 100755
--- a/helpers/lh_binary_syslinux
+++ b/helpers/lh_binary_syslinux
@@ -103,7 +103,7 @@ case "${LIVE_BINARY_IMAGES}" in
DESTDIR_INSTALL="tftpboot"
;;
- usb-hdd|hdd)
+ tar|usb-hdd)
# Workaround for syslinux (<< 3.36) which doesn't support long file/path names
if [ "${LIVE_DISTRIBUTION}" = "etch" ] || [ "${LIVE_DISTRIBUTION}" = "lenny" ]
then
@@ -163,7 +163,7 @@ fi
if [ -n "${LIVE_HOSTNAME}" ]
then
- case "${LIVE_INITRAMFS}" in
+ case "${LH_INITRAMFS}" in
casper)
LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND} hostname=${LIVE_HOSTNAME}"
;;
@@ -238,7 +238,7 @@ then
# Workaround for syslinux (<< 3.36) which doesn't support long file/path names
if [ "${LIVE_DISTRIBUTION}" = "etch" ] || [ "${LIVE_DISTRIBUTION}" = "lenny" ]
then
- if [ "${LIVE_BINARY_IMAGES}" = "usb-hdd" ] || [ "${LIVE_BINARY_IMAGES}" = "hdd" ]
+ if [ "${LIVE_BINARY_IMAGES}" = "tar" ] || [ "${LIVE_BINARY_IMAGES}" = "usb-hdd" ]
then
VMLINUZ_DI="vmlinuz.di"
INITRD_DI="initrddi.gz"
@@ -449,7 +449,7 @@ case "${LIVE_BINARY_IMAGES}" in
fi
;;
- usb-hdd|hdd)
+ tar|usb-hdd)
# Workaround for syslinux (<< 3.36) which doesn't support dedicated directory
if [ "${LIVE_DISTRIBUTION}" = "etch" ] || [ "${LIVE_DISTRIBUTION}" = "lenny" ]
then