X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-debootstrap;h=7a84794c7ceea8615f8ed2e752581203ffa8af38;hb=00a837dfd48ecee0daece8bbff5ac4aefc195abe;hp=2e386bf4be962e0f54d1ead0fcccf2687e261b03;hpb=7cc268e168259a681c0244f9d73a28b7dc4d3769;p=grml-debootstrap.git diff --git a/grml-debootstrap b/grml-debootstrap index 2e386bf..7a84794 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -140,6 +140,7 @@ fi [ "$_opt_interactive" ] && INTERACTIVE=1 [ "$_opt_config" ] && CONFIGFILE=$_opt_config [ "$_opt_packages_set" ] && PACKAGES='yes' +[ "$_opt_nopackages" ] && PACKAGES='' [ "$_opt_debconf_set" ] && DEBCONF='yes' [ "$_opt_scripts_set" ] && SCRIPTS='yes' [ "$_opt_pre_scripts_set" ] && PRE_SCRIPTS='yes' @@ -793,6 +794,7 @@ preparechroot() { [ -n "$ROOTPASSWORD" ] && echo "ROOTPASSWORD=$ROOTPASSWORD" >> $CHROOT_VARIABLES [ -n "$TARGET" ] && echo "TARGET=$TARGET" >> $CHROOT_VARIABLES [ -n "$TARGET_UUID" ] && echo "TARGET_UUID=$TARGET_UUID" >> $CHROOT_VARIABLES + [ -n "$RM_APTCACHE" ] && echo "RM_APTCACHE=$RM_APTCACHE" >> $CHROOT_VARIABLES cp $VERBOSE $CONFFILES/chroot-script $MNTPOINT/bin/chroot-script chmod 755 $MNTPOINT/bin/chroot-script