binary_syslinux: correct the path used to check if the bootloader is available.

The {iso,pxe,ext,sys}linux packages use /usr/lib/{ISO,PXE,EXT,SYS}LINUX/
directories and not /share/{ISO,PXE,EXT,SYS}LINUX/.
This commit is contained in:
Raphaël Hertzog 2014-12-09 16:48:00 +01:00 committed by Daniel Baumann
parent a294a46fb9
commit 7b6dfd9d16
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
;;
*)
Check_package chroot/share/$(echo ${_BOOTLOADER} | tr [a-z] [A-Z]) ${_BOOTLOADER}
Check_package chroot/usr/lib/$(echo ${_BOOTLOADER} | tr [a-z] [A-Z]) ${_BOOTLOADER}
Check_package chroot/usr/lib/syslinux syslinux-common
;;
esac