summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_linux-image
diff options
context:
space:
mode:
authorJesse Hathaway <jesse@mbuki-mvuki.org>2007-10-15 18:04:48 -0400
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:27 +0100
commite7d99b5116495b5727c9271963d1901760867c58 (patch)
treebeec1626d851ebbd33bf0259f184d241a29bdadd /helpers/lh_binary_linux-image
parent777875f2f23cc241510bc65e224cb89df2162b46 (diff)
downloadvyos-live-build-e7d99b5116495b5727c9271963d1901760867c58.tar.gz
vyos-live-build-e7d99b5116495b5727c9271963d1901760867c58.zip
lh_binary_syslinux: fix usb-hdd etch images
I did not realize that the syslinux boot methods, iso, net, & hdd do not have feature parity for any given version. As per old comments etch syslinux v3.31 does not support sub directories on FAT images
Diffstat (limited to 'helpers/lh_binary_linux-image')
-rwxr-xr-xhelpers/lh_binary_linux-image27
1 files changed, 4 insertions, 23 deletions
diff --git a/helpers/lh_binary_linux-image b/helpers/lh_binary_linux-image
index 33c2fbb9a..6795ec412 100755
--- a/helpers/lh_binary_linux-image
+++ b/helpers/lh_binary_linux-image
@@ -47,32 +47,13 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-# Setting destination directory
-case "${LH_BINARY_IMAGES}" in
- iso)
- case "${LH_INITRAMFS}" in
- casper)
- DESTDIR="binary/casper"
- ;;
-
- live-initramfs)
- DESTDIR="binary/live"
- ;;
- esac
- ;;
-
- net)
- DESTDIR="tftpboot"
+case "${LH_INITRAMFS}" in
+ casper)
+ DESTDIR="binary/casper"
;;
- tar|usb-hdd)
+ live-initramfs)
DESTDIR="binary/live"
-
- # Workaround for syslinux (<< 3.36) which doesn't support long file/path names
- if [ "${LH_DISTRIBUTION}" = "etch" ] && [ "${LH_BOOTLOADER}" = "syslinux" ]
- then
- DESTDIR="binary"
- fi
;;
esac