projects
/
grml-debootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Run code for --remove-configs before unmounting chroot
[grml-debootstrap.git]
/
chroot-script
diff --git
a/chroot-script
b/chroot-script
index
b283991
..
0e31f70
100755
(executable)
--- a/
chroot-script
+++ b/
chroot-script
@@
-78,7
+78,7
@@
chrootmirror() {
fi
if [ -z "$COMPONENTS" ] ; then
fi
if [ -z "$COMPONENTS" ] ; then
- COMPONENTS='main
contrib non-free
'
+ COMPONENTS='main'
fi
echo "Using repository components $COMPONENTS"
fi
echo "Using repository components $COMPONENTS"
@@
-585,11
+585,13
@@
grub_install() {
echo "Installing grub on ${GRUB}:"
grub-install --no-floppy "$GRUB"
done
echo "Installing grub on ${GRUB}:"
grub-install --no-floppy "$GRUB"
done
+ rm -f /boot/grub/device.map
else
echo "Installing grub on ${GRUB}:"
case "$RELEASE" in
lenny|squeeze|wheezy)
grub-install --no-floppy "$(readlink -f "${GRUB}")"
else
echo "Installing grub on ${GRUB}:"
case "$RELEASE" in
lenny|squeeze|wheezy)
grub-install --no-floppy "$(readlink -f "${GRUB}")"
+ rm -f /boot/grub/device.map
;;
*)
echo "(hd0) ${GRUB}" > /boot/grub/device.map
;;
*)
echo "(hd0) ${GRUB}" > /boot/grub/device.map