diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-04 22:45:34 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-04 22:45:34 +0200 |
commit | 7a5515a946682311f2303712e507acc04d79aa13 (patch) | |
tree | 8e33518360179455a63ba38a408ad90fd0468620 | |
parent | 3e573196aee69fd0ab0d89203717c9ba7347f565 (diff) | |
download | jenkins.debian.net-7a5515a946682311f2303712e507acc04d79aa13.tar.xz |
reproducible: linux-amd64 is a valid arch too
-rwxr-xr-x | bin/reproducible_build.sh | 2 | ||||
-rwxr-xr-x | bin/reproducible_stats.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 09c3c67c..57b87e47 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -169,7 +169,7 @@ for SRCPACKAGE in ${PACKAGES} ; do else VERSION=$(grep "^Version: " ${SRCPACKAGE}_*.dsc| grep -v "GnuPG v" | sort -r | head -1 | cut -d " " -f2-) ARCH=$(grep "^Architecture: " ${SRCPACKAGE}_*.dsc| sort -r | head -1 | cut -d " " -f2) - if [[ ! "$ARCH" =~ "amd64" ]] && [[ ! "$ARCH" =~ "all" ]] && [[ ! "$ARCH" =~ "any" ]] ; then + if [[ ! "$ARCH" =~ "amd64" ]] && [[ ! "$ARCH" =~ "all" ]] && [[ ! "$ARCH" =~ "any" ]] && [[ ! "$ARCH" =~ "linux-amd64" ]]; then sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"not for us\", \"$DATE\", \"\")" echo "Package ${SRCPACKAGE} (${VERSION}) shall only be build on \"$ARCH\" and was thus skipped." let "COUNT_SKIPPED=COUNT_SKIPPED+1" diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh index 76d31c28..b716685f 100755 --- a/bin/reproducible_stats.sh +++ b/bin/reproducible_stats.sh @@ -76,7 +76,7 @@ if [ $COUNT_SOURCELESS -gt 0 ] ; then htmlecho "<p>$COUNT_SOURCELESS ($PERCENT_SOURCELESS%) packages where the source could not be downloaded. <code>$SOURCELESS</code></p>" fi if [ $COUNT_NOTFORUS -gt 0 ] ; then - htmlecho "<p>$COUNT_NOTFORUS ($PERCENT_NOTFORUS%) packages which are neither Architecture: 'any' nor 'all' nor 'amd64': <code>$NOTFORUS</code></p>" + htmlecho "<p>$COUNT_NOTFORUS ($PERCENT_NOTFORUS%) packages which are neither Architecture: 'any' nor 'all' nor 'amd64' nor 'linux-amd64': <code>$NOTFORUS</code></p>" fi htmlecho "<p>$COUNT_GOOD packages ($PERCENT_GOOD%) successfully built reproducibly: <code>${GOOD}</code></p>" htmlecho "<hr><p>Packages which failed to build reproducibly, sorted by Maintainers: and Uploaders: fields." |