From 7a5515a946682311f2303712e507acc04d79aa13 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 4 Oct 2014 22:45:34 +0200 Subject: reproducible: linux-amd64 is a valid arch too --- bin/reproducible_build.sh | 2 +- 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 "

$COUNT_SOURCELESS ($PERCENT_SOURCELESS%) packages where the source could not be downloaded. $SOURCELESS

" fi if [ $COUNT_NOTFORUS -gt 0 ] ; then - htmlecho "

$COUNT_NOTFORUS ($PERCENT_NOTFORUS%) packages which are neither Architecture: 'any' nor 'all' nor 'amd64': $NOTFORUS

" + htmlecho "

$COUNT_NOTFORUS ($PERCENT_NOTFORUS%) packages which are neither Architecture: 'any' nor 'all' nor 'amd64' nor 'linux-amd64': $NOTFORUS

" fi htmlecho "

$COUNT_GOOD packages ($PERCENT_GOOD%) successfully built reproducibly: ${GOOD}

" htmlecho "

Packages which failed to build reproducibly, sorted by Maintainers: and Uploaders: fields." -- cgit v1.2.3-70-g09d2