projects
/
grml-debootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initial version of support for installation into a directory
[grml-debootstrap.git]
/
chroot-script
diff --git
a/chroot-script
b/chroot-script
index
675f9ec
..
deb7b7a
100644
(file)
--- a/
chroot-script
+++ b/
chroot-script
@@
-145,8
+145,10
@@
if [ -n "$INITRD" ] ; then
fi
fi
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
# copy stage-files to /boot/grub/
[ -d /boot/grub/ ] || mkdir /boot/grub