X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=grml-live;h=0d1c4cd384267c8aa11a426b61796b75b651f767;hp=4a683017682e68535174b18b73480bcad16a83d7;hb=3c4e3e3a72c4272f3d31f27fe4f4926239bdf3ac;hpb=c5517473e37ed6e8205e2b7d55b1c1043e7abfaf diff --git a/grml-live b/grml-live index 4a68301..0d1c4cd 100755 --- a/grml-live +++ b/grml-live @@ -147,7 +147,13 @@ fi # source main configuration file: LIVE_CONF=/etc/grml/grml-live.conf -. $LIVE_CONF +if ! [ -r "$LIVE_CONF" ] ; then + ewarn "Configuration file $LIVE_CONF can not be read, ignoring" +else + einfo "Sourcing configuration file $LIVE_CONF" + . $LIVE_CONF + eend $? +fi # }}} # umount all directories {{{ @@ -1429,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."