summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_memtest
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:09 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:29 +0100
commit86726af9f5e7873d6cdbbe108fae1c41b1b67db0 (patch)
treedc743644cb41c5faffc58a67b6603d4b1342d41a /helpers/lh_binary_memtest
parent97c3a13dcc9becf93cb7c2aa89ea3e00f06b9179 (diff)
downloadlive-build-86726af9f5e7873d6cdbbe108fae1c41b1b67db0.zip
live-build-86726af9f5e7873d6cdbbe108fae1c41b1b67db0.tar.gz
Adding live-helper 1.0~a11-1.
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 eedc054..a96dbc5 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