X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=277c3ac79bb6fc89280ba2c3d83c581b87c1a2f8;hp=d4451cb0239c94eda401a21248da8ba46e47b100;hb=139f1a82802a0cbef7f231b0fae51f9357a7f518;hpb=dd916bb8959181ad9e54648d1cbf2fd6626c6a81 diff --git a/grml-debootstrap b/grml-debootstrap index d4451cb..277c3ac 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -227,12 +227,12 @@ if [ -n "$AUTOINSTALL" ] ; then fi else # if not running automatic installation display configuration and prompt for execution: einfo "$0 - Please recheck configuration before execution:" - echo " - Target: $TARGET" + echo + echo " Target: $TARGET" case "$MNTPOINT" in "$TARGET") ;; *) echo " Mount-point: $MNTPOINT" ;; esac [ -n "$GRUB" ] && echo " Install grub to: $GROOT / $GRUB" [ -n "$MIRROR" ] && echo " Using mirror: $MIRROR" - case "$MNTPOINT" in "$TARGET") ;; *) echo " Important! Continuing will delete all data from ${TARGET}!" ;; esac + case "$MNTPOINT" in "$TARGET") ;; *) echo " Important! Continuing will delete all data from ${TARGET}!" ;; esac echo einfon "Is this ok for you? [y/N] " read a @@ -309,6 +309,8 @@ preparechroot() { cp /etc/debootstrap/packages $MNTPOINT/etc/debootstrap/packages cp /etc/debootstrap/variables $MNTPOINT/etc/debootstrap/variables + cp -a /etc/debootstrap/extrapackages/ $MNTPOINT/etc/debootstrap/ + # make sure we can access network [relevant for cdebootstrap] [ -f "$MNTPOINT/etc/resolv.conf" ] || cp /etc/resolv.conf $MNTPOINT/etc/resolv.conf