From 896626325ecf904b16d44d7f3b896bc4b4ca6d11 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Mon, 19 Dec 2011 15:40:59 +0100 Subject: [PATCH] Install netboot.cfg as pxelinux.cfg/default _file_ --- grml-live | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/grml-live b/grml-live index b8a14a6..dbc9bbd 100755 --- a/grml-live +++ b/grml-live @@ -1379,15 +1379,13 @@ create_netbootpackage() { cp "${CHROOT_OUTPUT}"/boot/initrd.img-* "$WORKING_DIR"/initrd.img cp "${CHROOT_OUTPUT}"/usr/lib/syslinux/pxelinux.0 "${WORKING_DIR}/pxelinux.0" + mkdir -p "${WORKING_DIR}/pxelinux.cfg" if [ -r "${BUILD_OUTPUT}/boot/isolinux/netboot.cfg" ] ; then - mkdir -p "${WORKING_DIR}/pxelinux.cfg/default" cp "${BUILD_OUTPUT}/boot/isolinux/netboot.cfg" "${WORKING_DIR}/pxelinux.cfg/default" else ewarn "File ${BUILD_OUTPUT}/boot/isolinux/netboot.cfg not found." ; eend 0 fi - mkdir -p "${WORKING_DIR}/pxelinux.cfg" - if tar -C "$OUTPUTDIR" -jcf "${OUTPUT_FILE}" "grml_netboot_package_${GRML_NAME}_${VERSION}" ; then sha1sum "${OUTPUT_FILE}" > "${OUTPUT_FILE}.sha1" einfo "Generated netboot package ${OUTPUT_FILE}" ; eend 0 -- 2.1.4