From b5e99b5b1410680823d2e4f3c2d38d995e222ab3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Dec 2014 08:38:42 +0100 Subject: Dropping support for wheezy. --- scripts/build/binary_syslinux | 62 +++++-------------------------------------- 1 file changed, 6 insertions(+), 56 deletions(-) (limited to 'scripts/build/binary_syslinux') 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 -- cgit v1.2.3