From: Michael Prokop Date: Wed, 11 Sep 2013 07:54:29 +0000 (+0200) Subject: Fix check for presence of pxelinux.0 file X-Git-Tag: v0.21.5~2 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=187648093957f0a13b1aee53bfd4c9a0decce320 Fix check for presence of pxelinux.0 file This worked only on for build systems where /usr/lib/syslinux/pxelinux.0 was present on the build system itself. :) --- diff --git a/grml-live b/grml-live index a6dcafb..0d1c4cd 100755 --- a/grml-live +++ b/grml-live @@ -1435,7 +1435,7 @@ create_netbootpackage() { mkdir -p "$NETBOOT" - if ! [ -r "${CHROOT}/usr/lib/syslinux/pxelinux.0" ] ; then + if ! [ -r "${CHROOT_OUTPUT}/usr/lib/syslinux/pxelinux.0" ] ; then ewarn "File /usr/lib/syslinux/pxelinux.0 not found in build chroot." ; eend 0 eindent einfo "Install syslinux[-common] package in chroot to get a netboot package."