summaryrefslogtreecommitdiff
path: root/scripts/build/binary_syslinux
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-12-10 08:38:42 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2014-12-10 08:38:42 +0100
commitb5e99b5b1410680823d2e4f3c2d38d995e222ab3 (patch)
tree2b5f27e2ee961bd33eb94fa2814e8a93dc0db3e0 /scripts/build/binary_syslinux
parenta767601f25c43986250746b3e14b9cc24e35c230 (diff)
downloadvyos-live-build-b5e99b5b1410680823d2e4f3c2d38d995e222ab3.tar.gz
vyos-live-build-b5e99b5b1410680823d2e4f3c2d38d995e222ab3.zip
Dropping support for wheezy.
Diffstat (limited to 'scripts/build/binary_syslinux')
-rwxr-xr-xscripts/build/binary_syslinux62
1 files changed, 6 insertions, 56 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index 568b3f757..e939cf4b4 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -120,34 +120,10 @@ 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)
- case "${LB_PARENT_DISTRIBUTION}" in
- wheezy)
- case "${_BOOTLOADER}" in
- syslinux|extlinux)
- Check_package chroot/usr/bin/${_BOOTLOADER} ${_BOOTLOADER}
- ;;
-
- *)
- Check_package chroot/usr/lib/syslinux syslinux-common
- ;;
- esac
- ;;
-
- *)
- Check_package chroot/usr/lib/$(echo ${_BOOTLOADER} | tr [a-z] [A-Z]) ${_BOOTLOADER}
- Check_package chroot/usr/lib/syslinux syslinux-common
- ;;
- esac
-
+ Check_package chroot/usr/lib/$(echo ${_BOOTLOADER} | tr [a-z] [A-Z]) ${_BOOTLOADER}
Check_package chroot/usr/lib/syslinux syslinux-common
if ls "${_SOURCE}"/*.svg* > /dev/null 2>&1
@@ -157,37 +133,11 @@ case "${LB_BUILD_WITH_CHROOT}" in
;;
false)
- case "${LB_PARENT_DISTRIBUTION}" in
- wheezy)
- case "${_BOOTLOADER}" in
- syslinux|extlinux)
- if [ ! -e /usr/bin/${_BOOTLOADER} ]
- then
- # syslinux or extlinux
- Echo_error "/usr/bin/${_BOOTLOADER} - no such file."
- exit 1
- fi
- ;;
-
- *)
- if ! ls /usr/lib/syslinux/${_BOOTLOADER}* > /dev/null 2>&1
- then
- Echo_error "/usr/lib/syslinux/${_BOOTLOADER}* - no such files."
- exit 1
- fi
- ;;
- esac
- ;;
-
- *)
- if [ ! -e "/usr/share/$(echo ${_BOOTLOADER} | tr [a-z] [A-Z])" ]
- then
- Echo_error "/usr/share/$(echo ${_BOOTLOADER} | tr [a-z] [A-Z])"
- exit 1
- fi
- ;;
- esac
-
+ if [ ! -e "/usr/share/$(echo ${_BOOTLOADER} | tr [a-z] [A-Z])" ]
+ then
+ Echo_error "/usr/share/$(echo ${_BOOTLOADER} | tr [a-z] [A-Z])"
+ exit 1
+ fi
if [ ! -e /usr/lib/syslinux ]
then