X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fgrml%2Fgrml_cleanup_chroot;fp=etc%2Fgrml%2Ffai%2Fgrml%2Fgrml_cleanup_chroot;h=b75f55adfc25d60cec4366ff6d4a1705fd97a5b2;hp=6d75ea1c2e93e7ead66cc7cf709af3a3fbe0752a;hb=a45be56c42c5da0787a73fad834384c0e82aef13;hpb=bea1d56363bf75bf7a9fae860fbeef10a4272528 diff --git a/etc/grml/fai/grml/grml_cleanup_chroot b/etc/grml/fai/grml/grml_cleanup_chroot index 6d75ea1..b75f55a 100755 --- a/etc/grml/fai/grml/grml_cleanup_chroot +++ b/etc/grml/fai/grml/grml_cleanup_chroot @@ -74,14 +74,14 @@ elif [ -n "$GRML64" ] ; then if [ -d /usr/src/linux-headers-"$KERNEL" ] ; then einfo "grml64 detected, assuming /usr/src/linux-headers-$KERNEL is ok." ; eend 0 else - ewarn "/usr/src/linux-headers-$KERNEL not found, exiting." ; eend 0 + ewarn "Warning: /usr/src/linux-headers-$KERNEL not found, exiting." ; eend 0 fi elif [ -d /usr/src/linux-headers-"$KERNEL" ] ; then - eerror "/usr/include/linux is NOT a symlink to /usr/src/linux/include/linux/ - error" - eend 1 - exit 10 + ewarn "Warning: /usr/include/linux is NOT a symlink to /usr/src/linux/include/linux/ (possible an error)" + ewarn "Common reason: you forgot to install linux-kernel-headers-grml and use linux-libc-dev instead" + eend 0 else - ewarn "linux-headers-$KERNEL not installed." ; eend 0 + ewarn "Warning: linux-headers-$KERNEL not installed." ; eend 0 fi einfo "Creating ~/.zshrc"