From e87fe7be08cb07a481c200802bbe4f93053506fd Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 23 Sep 2014 22:58:35 +0000 Subject: reproducible: misc fixes. new job: build-essential. --- bin/reproducible_build.sh | 8 ++++++-- bin/reproducible_setup.sh | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 6a5f8b3e..0244ee14 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -31,7 +31,6 @@ for PACKAGE in "$@" ; do dcmd cp /var/cache/pbuilder/result/${PACKAGE}_*.changes b2 sudo dcmd rm /var/cache/pbuilder/result/${PACKAGE}_*.changes cat b1/${PACKAGE}_*.changes - TMPFILE=$(mktemp) ./misc.git/diffp b1/*.changes b2/*.changes | tee ${TMPFILE} if $(grep -qv '^\*\*\*\*\*' ${TMPFILE}) ; then @@ -45,10 +44,15 @@ for PACKAGE in "$@" ; do let "COUNT_BAD=COUNT_BAD+1" GOOD="${PACKAGE} ${BAD}" fi - rm b1 b2 ${TMPFILE} -rf + + echo "==============================================================" + echo "$COUNT_TOTAL of ${#@} done." + echo "==============================================================" done +set +x +echo echo echo "$COUNT_TOTAL packages attempted to build in total." echo "$COUNT_GOOD packages successfully built reproducible: ${GOOD}" diff --git a/bin/reproducible_setup.sh b/bin/reproducible_setup.sh index ad0e6cd2..59cb99e0 100755 --- a/bin/reproducible_setup.sh +++ b/bin/reproducible_setup.sh @@ -7,7 +7,7 @@ common_init "$@" TMPFILE=$(mktemp) -cat > $TMPFILE <<- EOF +cat > ${TMPFILE} <<- EOF echo 'deb http://reproducible.alioth.debian.org/debian/ ./' > /etc/apt/sources.list.d/reproducible.list apt-get update echo "Warning: Usage of --force-yes to override the apt authentication warning. Don't do this." @@ -16,5 +16,5 @@ EOF sudo rm /var/cache/pbuilder/base-reproducible.tgz || true sudo pbuilder --create --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid -sudo pbuilder --execute --save-after-exec --basetgz /var/cache/pbuilder/base-reproducible.tgz -- $TMPFILE -rm $TMPFILE +sudo pbuilder --execute --save-after-exec --basetgz /var/cache/pbuilder/base-reproducible.tgz -- ${TMPFILE} +rm ${TMPFILE} -- cgit v1.2.3-70-g09d2