grml-live (well, the ISO) doesn't support more than one kernel
version, but don't fail in this script if more than one kernel
configuration is present.
Thanks for reporting, Christian.
-if ! [ $(ls $target/boot/config-* 2>/dev/null) ] ; then
+if ! ls $target/boot/config-* &>/dev/null ; then
echo "No kernel config files (/boot/config-*) found. No kernel-image package installed?" >&2
exit 1
fi
echo "No kernel config files (/boot/config-*) found. No kernel-image package installed?" >&2
exit 1
fi