summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_memtest
diff options
context:
space:
mode:
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