diff options
-rw-r--r-- | TODO | 2 | ||||
-rwxr-xr-x | bin/reproducible_build.sh | 4 | ||||
-rwxr-xr-x | bin/reproducible_stats.sh | 3 |
3 files changed, 7 insertions, 2 deletions
@@ -99,7 +99,9 @@ general === reproducible +* copy diffp files away and make them accessable and link them from stats.html * use git repo in job config? +* use 2 job templates * document this on https://wiki.debian.org/ReproducibleBuilds * investigate packages not in sid from https://jenkins.debian.net/view/reproducible/job/reproducible_build_d-i/lastBuild/console - the list was taken from the jenkins d-i jobs... * pbuilder results cleanup diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 225e39fd..e86948e4 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -51,6 +51,7 @@ echo "==============================================================" echo set -x +NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l) COUNT_TOTAL=0 COUNT_GOOD=0 COUNT_BAD=0 @@ -79,7 +80,6 @@ for SRCPACKAGE in $PACKAGES ; do SKIPPED="${SRCPACKAGE} ${SKIPPED}" continue fi - NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l) sudo DEB_BUILD_OPTIONS="parallel=$NUM_CPU" pbuilder --build --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_*.dsc RESULT=$? if [ $RESULT = 0 ] ; then @@ -121,7 +121,7 @@ for SRCPACKAGE in $PACKAGES ; do set +x echo "==============================================================" - echo "$COUNT_TOTAL of ${#@} done." + echo "$COUNT_TOTAL of ${#PACKAGES} done." echo "==============================================================" set -x done diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh index 27a4c2f9..d31f3b1c 100755 --- a/bin/reproducible_stats.sh +++ b/bin/reproducible_stats.sh @@ -24,8 +24,11 @@ echo echo "Simple statistics for reproducible builds as tested on jenkins.debian.net so far" echo echo "$COUNT_TOTAL packages attempted to build in total." +echo echo "$COUNT_GOOD packages successfully built reproducibly: ${GOOD}" +echo echo "$COUNT_BAD packages failed to built reproducibly: ${BAD}" +echo echo "$COUNT_UGLY packages failed to build from source: ${UGLY}" echo "$COUNT_SOURCELESS packages doesn't exist in sid and need investigation: $SOURCELESS" |