summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_memtest
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_binary_memtest')
-rwxr-xr-xhelpers/lh_binary_memtest13
1 files changed, 12 insertions, 1 deletions
diff --git a/helpers/lh_binary_memtest b/helpers/lh_binary_memtest
index eedc0547b..a96dbc538 100755
--- a/helpers/lh_binary_memtest
+++ b/helpers/lh_binary_memtest
@@ -82,7 +82,18 @@ case "${LIVE_BINARY_IMAGES}" in
;;
usb-hdd|hdd)
- DESTDIR="binary/live"
+ # Workaround for syslinux (<< 3.36) which doesn't support long file/path names
+ if [ "${LIVE_DISTRIBUTION}" = "etch" ] || [ "${LIVE_DISTRIBUTION}" = "lenny" ]
+ then
+ if [ "${LIVE_BOOTLOADER}" = "syslinux" ]
+ then
+ DESTDIR="binary"
+ else
+ DESTDIR="binary/live"
+ fi
+ else
+ DESTDIR="binary/live"
+ fi
;;
esac