From 17c129ddf2088a015f15a8daa67eb675c04f0953 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 5 Jan 2012 11:24:00 +0100 Subject: [PATCH] Provide hint to user if netboot.cfg could not be found --- grml-live | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.1.4