summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-14 17:30:32 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-06-14 17:30:32 +0100
commit0d1122d0ab7e43f5a1ef1432e8ad7fb475031b7f (patch)
tree396dc0bfb3401e412159290c1d26196c2c16b9d7
parentefa3d98166b050551dddb77e272db358b24dcc70 (diff)
downloadvyos-live-build-0d1122d0ab7e43f5a1ef1432e8ad7fb475031b7f.tar.gz
vyos-live-build-0d1122d0ab7e43f5a1ef1432e8ad7fb475031b7f.zip
Move Etch syslinux workaround closer to the original definitions
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
-rwxr-xr-xhelpers/lh_binary_debian-installer16
1 files changed, 8 insertions, 8 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index de5dc3d60..97ed2106d 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -131,14 +131,6 @@ esac
Check_multiarchitecture
-VMLINUZ_DI="vmlinuz"
-INITRD_DI="initrd.gz"
-DESTDIR_DI="${DESTDIR}"
-
-VMLINUZ_GI="gtk/vmlinuz"
-INITRD_GI="gtk/initrd.gz"
-DESTDIR_GI="${DESTDIR}/gtk"
-
Install_file() {
local FILE
FILE="${1}"
@@ -170,6 +162,14 @@ Install_file() {
cp "${FILE}" "${TARGET}"/"${LETTER}"/"${SOURCE}"
}
+VMLINUZ_DI="vmlinuz"
+INITRD_DI="initrd.gz"
+DESTDIR_DI="${DESTDIR}"
+
+VMLINUZ_GI="gtk/vmlinuz"
+INITRD_GI="gtk/initrd.gz"
+DESTDIR_GI="${DESTDIR}/gtk"
+
# Workaround for syslinux (<< 3.36) which doesn't support long file/path names
if [ "${LH_DISTRIBUTION}" = "etch" ]
then