Paul Wise <p...@debian.org> (2014-02-25):
> ---
>  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} \

That should probably work better, thanks. Feel free to push, along with
a changelog update. (I've just added you as a d-i developer on alioth.)

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature

Reply via email to