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
committerOtavio Salvador <otavio@ossystems.com.br>2007-10-17 13:53:49 -0200
commit293ef95b91b1d7be423dcadf864c8abe27df9351 (patch)
treebeec1626d851ebbd33bf0259f184d241a29bdadd /helpers/lh_binary_linux-image
parentcede7843d2c4a932f182edddd616e2721ce01f3b (diff)
downloadvyos-live-build-293ef95b91b1d7be423dcadf864c8abe27df9351.tar.gz
vyos-live-build-293ef95b91b1d7be423dcadf864c8abe27df9351.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