summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_memtest
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_memtest
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_memtest')
-rwxr-xr-xhelpers/lh_binary_memtest36
1 files changed, 5 insertions, 31 deletions
diff --git a/helpers/lh_binary_memtest b/helpers/lh_binary_memtest
index 946729bf2..557b94578 100755
--- a/helpers/lh_binary_memtest
+++ b/helpers/lh_binary_memtest
@@ -88,39 +88,13 @@ Restore_cache cache/packages_binary
Install_package
# Setting destination directory
-case "${LH_BINARY_IMAGES}" in
- iso)
- case "${LH_INITRAMFS}" in
- casper)
- DESTDIR="binary/casper"
- ;;
-
- live-initramfs)
- DESTDIR="binary/live"
- ;;
- esac
+case "${LH_INITRAMFS}" in
+ casper)
+ DESTDIR="binary/casper"
;;
- net)
- DESTDIR="tftpboot"
- ;;
-
- tar|usb-hdd)
- case "${LH_INITRAMFS}" in
- casper)
- DESTDIR="binary/casper"
- ;;
-
- live-initramfs)
- DESTDIR="binary/live"
- ;;
- esac
-
- # Workaround for syslinux (<< 3.36) which doesn't support long file/path names
- if [ "${LH_DISTRIBUTION}" = "etch" ] && [ "${LH_BOOTLOADER}" = "syslinux" ]
- then
- DESTDIR="binary"
- fi
+ live-initramfs)
+ DESTDIR="binary/live"
;;
esac