summaryrefslogtreecommitdiff
path: root/scripts/build/binary_syslinux
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-07-24 05:02:11 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2014-07-24 05:02:11 +0200
commit2a829562c98cf5877f8ac7086f3562a1164684a8 (patch)
tree6d25f890cf61c9f4e91e5c805c1514656017d91c /scripts/build/binary_syslinux
parentdd473587007d3d0be0fe411e49fc43f9df850879 (diff)
downloadvyos-live-build-2a829562c98cf5877f8ac7086f3562a1164684a8.tar.gz
vyos-live-build-2a829562c98cf5877f8ac7086f3562a1164684a8.zip
Adding second set of bootloader templates for wheezy.
Diffstat (limited to 'scripts/build/binary_syslinux')
-rwxr-xr-xscripts/build/binary_syslinux6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index f928de405..abd900ac1 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -120,6 +120,12 @@ else
fi
fi
+# legacy compatibility for wheezy
+if [ -e "${_SOURCE}.${LB_PARENT_DISTRIBUTION}" ]
+then
+ _SOURCE="${_SOURCE}.${LB_PARENT_DISTRIBUTION}"
+fi
+
# Checking depends
case "${LB_BUILD_WITH_CHROOT}" in
true)