X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml-debootstrap;h=40480d2553e54de6ecdf62023a6df40f94f80156;hb=refs%2Ftags%2Fv0.32;hp=2d79d195518ff1b46a59623e4128c4d930ca7356;hpb=efc738315b72365a6bb1c10e08beeffb674e99d5;p=grml-debootstrap.git diff --git a/grml-debootstrap b/grml-debootstrap index 2d79d19..40480d2 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -11,7 +11,7 @@ set -e # exit on any error # variables {{{ PN="$(basename $0)" -VERSION='0.31' +VERSION='0.32' MNTPOINT="/mnt/debootstrap.$$" # inside the chroot system locales might not be available, so use minimum: @@ -163,6 +163,21 @@ fi } # }}} +# backwards compability checks {{{ +if [ -n "$GROOT" ] ; then + echo "Error: you seem to have \$GROOT configured." >&2 + echo "This variable is no longer supported, please visit the" >&2 + echo "grml-debootstrap documentation for details." >&2 + exit 1 +fi + +if echo "$GRUB" | grep -q '^hd' ; then + echo "Error: this syntax for the grub configuration variable is no longer supported." >&2 + echo "Please do not use hd... any longer but /dev/sdX instead." >&2 + exit 1 +fi +# }}} + # welcome screen {{{ welcome_dialog() {