summaryrefslogtreecommitdiff
path: root/scripts/build/binary_syslinux
diff options
context:
space:
mode:
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