X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;h=27746dca1c630397919f99ab3db38e6f32dec4df;hp=675f9ec0677128d07c9539ee9d3cde669aec306a;hb=38a15b901c7534f0047e22269e879acce9a7f88e;hpb=59e831554bb94d29953f8cf05a46d1f3d3e5420a 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