diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:09 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:09 +0200 |
| commit | 2d176937dd77f816ad2958f0b40eb476b29c412d (patch) | |
| tree | dc743644cb41c5faffc58a67b6603d4b1342d41a /helpers/lh_binary_linux-image | |
| parent | f0712b2f79ae4a23146a088624fe48aed7c02cca (diff) | |
| download | vyos-live-build-2d176937dd77f816ad2958f0b40eb476b29c412d.tar.gz vyos-live-build-2d176937dd77f816ad2958f0b40eb476b29c412d.zip | |
Adding live-helper 1.0~a11-1.
Diffstat (limited to 'helpers/lh_binary_linux-image')
| -rwxr-xr-x | helpers/lh_binary_linux-image | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/helpers/lh_binary_linux-image b/helpers/lh_binary_linux-image index c7e5dd6f1..b7349d9b1 100755 --- a/helpers/lh_binary_linux-image +++ b/helpers/lh_binary_linux-image @@ -60,7 +60,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 |
