X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;h=27746dca1c630397919f99ab3db38e6f32dec4df;hp=675f9ec0677128d07c9539ee9d3cde669aec306a;hb=0b51657f46212b30e9e1be1b30e54e373c6d15f4;hpb=39563a562d5225615961fe23573c15d9e2f5a79c diff --git a/chroot-script b/chroot-script index 675f9ec..27746dc 100644 --- a/chroot-script +++ b/chroot-script @@ -145,8 +145,10 @@ if [ -n "$INITRD" ] ; then fi fi -if [ -n "$GROOT" ] ; then - echo "Installing grub" +if [ -z "$GROOT" ] ; then + echo "Warning: $GROOT is not defined, can not adjust grub configuration therefor." +else + echo "Adjusting grub configuration for use on ${GROOT}." # copy stage-files to /boot/grub/ [ -d /boot/grub/ ] || mkdir /boot/grub