--- debian/bootstrap-base.postinst | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/debian/bootstrap-base.postinst b/debian/bootstrap-base.postinst index 5beaf01..13950e7 100755 --- a/debian/bootstrap-base.postinst +++ b/debian/bootstrap-base.postinst @@ -27,6 +27,10 @@ if [ ! -e /usr/share/debootstrap/scripts/"$DEBOOTSTRAP_SCRIPT" ]; then error "debootstrap script '$DEBOOTSTRAP_SCRIPT' doesn't exist" fi +# Check if a specific variant should be used +db_get base-installer/debootstrap_variant +DEBOOTSTRAP_VARIANT="--variant=$RET" + # Avoid debconf sending email during the base install process DEBCONF_ADMIN_EMAIL="" export DEBCONF_ADMIN_EMAIL @@ -128,6 +132,7 @@ install_base_system () { --resolve-deps \ ${include} ${exclude} \ ${sigcheck} \ + ${DEBOOTSTRAP_VARIANT} \ ${DISTRIBUTION} /target \ "$PROTOCOL://$MIRROR$DIRECTORY" \ ${DEBOOTSTRAP_SCRIPT} \ -- 1.8.5.3 -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1393327302-8671-1-git-send-email-p...@debian.org