From 9cef53c31fac9a2b65a804a74912757f7929a72e Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 18 Feb 2015 18:03:12 +0100 Subject: [PATCH] Include ldlinux.c32 in netboot package also via grml-live itself Related to the previous commit (ded6100068b14). --- grml-live | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/grml-live b/grml-live index 20b8191..65bbfba 100755 --- a/grml-live +++ b/grml-live @@ -1497,6 +1497,10 @@ create_netbootpackage() { cp "${CHROOT_OUTPUT}"/boot/initrd.img-* "$WORKING_DIR"/initrd.img cp "${CHROOT_OUTPUT}/${pxelinux_dir}/pxelinux.0" "${WORKING_DIR}/pxelinux.0" + if [ -r "${CHROOT_OUTPUT}"/usr/lib/syslinux/modules/bios/ldlinux.c32 ] ; then + cp "${CHROOT_OUTPUT}"/usr/lib/syslinux/modules/bios/ldlinux.c32 "${WORKING_DIR}"/ + fi + mkdir -p "${WORKING_DIR}/pxelinux.cfg" if [ -r "${BUILD_OUTPUT}/boot/isolinux/netboot.cfg" ] ; then cp "${BUILD_OUTPUT}/boot/isolinux/netboot.cfg" "${WORKING_DIR}/pxelinux.cfg/default" -- 2.1.4