--- debian/bootstrap-base.postinst | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/debian/bootstrap-base.postinst b/debian/bootstrap-base.postinst index 5beaf01..ed2e0ab 100755 --- a/debian/bootstrap-base.postinst +++ b/debian/bootstrap-base.postinst @@ -27,6 +27,11 @@ 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 +if db_get base-installer/debootstrap_variant && [ "$RET" ]; then + DEBOOTSTRAP_VARIANT="--variant=$RET" +fi + # Avoid debconf sending email during the base install process DEBCONF_ADMIN_EMAIL="" export DEBCONF_ADMIN_EMAIL @@ -128,6 +133,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/1393329697-12337-1-git-send-email-p...@debian.org