summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaƫl Hertzog <hertzog@debian.org>2014-12-09 16:48:00 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2014-12-10 06:26:55 +0100
commit7b6dfd9d167b5ef09c6c1812f17e6df302f45897 (patch)
tree6054e3f4f9caac983b0dc712158e7c403b6c61e2
parenta294a46fb9fe28e43686b18da7b22ec1c46b0d4f (diff)
downloadvyos-live-build-7b6dfd9d167b5ef09c6c1812f17e6df302f45897.tar.gz
vyos-live-build-7b6dfd9d167b5ef09c6c1812f17e6df302f45897.zip
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/.
-rwxr-xr-xscripts/build/binary_syslinux2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index abd900ac1..f0dba0e32 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -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