From: Michael Prokop Date: Thu, 5 Jan 2012 10:24:00 +0000 (+0100) Subject: Provide hint to user if netboot.cfg could not be found X-Git-Tag: v0.17.3~2 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=17c129ddf2088a015f15a8daa67eb675c04f0953 Provide hint to user if netboot.cfg could not be found --- diff --git a/grml-live b/grml-live index ac8f9cf..1b119c1 100755 --- a/grml-live +++ b/grml-live @@ -1392,7 +1392,12 @@ create_netbootpackage() { if [ -r "${BUILD_OUTPUT}/boot/isolinux/netboot.cfg" ] ; then 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 + log "File ${BUILD_OUTPUT}/boot/isolinux/netboot.cfg not found." + ewarn "File ${BUILD_OUTPUT}/boot/isolinux/netboot.cfg not found." + eindent + log "Hint: Are you using custom templates which do not provide netboot.cfg?" + ewarn "Hint: Are you using custom templates which do not provide netboot.cfg?" ; eend 0 + eoutdent fi if tar -C "$OUTPUTDIR" -jcf "${OUTPUT_FILE}" "grml_netboot_package_${GRML_NAME}_${VERSION}" ; then