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
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:27 +0100
commite7d99b5116495b5727c9271963d1901760867c58 (patch)
treebeec1626d851ebbd33bf0259f184d241a29bdadd /helpers/lh_binary_memtest
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_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