From c6adeaf4ea3bea48c6d2e05b484d2a7cd2ad56c9 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Wed, 13 May 2015 23:53:26 +0200 Subject: reproducible: include locales-all in pbuilder tgz It is currently intended that both builds are built with different locales to get more variation. In reproducible_build.sh LC_ALL is set to fr_CH.UTF-8. But the minimal pbuilder currently doesn't know this locale, so e.g. calling `date` still outputs English strings. By including locales-all in the pbuilder tgz, all locales will be available. --- bin/reproducible_setup_pbuilder.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh index ea407d2a..1134f779 100755 --- a/bin/reproducible_setup_pbuilder.sh +++ b/bin/reproducible_setup_pbuilder.sh @@ -80,6 +80,7 @@ setup_pbuilder() { NAME=$1 shift PACKAGES="$@" + EXTRA_PACKAGES="locales-all" echo "$(date) - creating /var/cache/pbuilder/${NAME}.tgz now..." TMPFILE=$(mktemp) LOG=$(mktemp) @@ -94,7 +95,7 @@ setup_pbuilder() { pbuilder_http_proxy="--http-proxy $http_proxy" fi create_setup_tmpfile ${TMPFILE} "${PACKAGES}" - sudo pbuilder --create $pbuilder_http_proxy --basetgz /var/cache/pbuilder/${NAME}-new.tgz --distribution $SUITE + sudo pbuilder --create $pbuilder_http_proxy --basetgz /var/cache/pbuilder/${NAME}-new.tgz --distribution $SUITE --extrapackages "$EXTRA_PACKAGES" if [ "$DEBUG" = "true" ] ; then cat "$TMPFILE" fi -- cgit v1.2.3-70-g09d2