+# einfo "Removing chroot-script"
+# rm -f $MNTPOINT/bin/chroot-script
+# rm -rf $MNTPOINT/etc/debootstrap/
+# eend $?
+
+if [ -z "$GRUB" -o -z "$GROOT" ] ; then
+ echo "Notice: \$GRUB or \$GROOT not defined, will not install grub therefor."
+else
+ einfo "Installing grub on ${GRUB}:"
+ grub-install --root-directory="$MNTPOINT" "(${GRUB})"
+ eend $?
+fi
+