summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-29 15:29:52 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-29 15:29:52 +0200
commit31aeb53612836770594d3a81650ee44d7410c96e (patch)
tree58cd815b8c5be9799fc42534ecbf6db4ce6b4240
parent91211e44260fb85e295d39eb5310c1bb695e807a (diff)
downloadjenkins.debian.net-31aeb53612836770594d3a81650ee44d7410c96e.tar.xz
reproducible: any is also a valid arch
-rw-r--r--TODO1
-rwxr-xr-xbin/reproducible_build.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/TODO b/TODO
index 3a138ce6..aba0f716 100644
--- a/TODO
+++ b/TODO
@@ -100,6 +100,7 @@ general
* improve random jobs to only select previously untested packages?
* plus random_any (=the existing random job) then?
+* have a job which runs failed packages for which a newer version exists
=== Test Debian live
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 47fe1de5..24128f48 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -94,7 +94,7 @@ for SRCPACKAGE in $PACKAGES ; do
sqlite3 -init $INIT $PACKAGES_DB "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"404\", \"$DATE\", \"\")"
else
ARCH=$(grep "^Architecture: " ${SRCPACKAGE}_*.dsc| cut -d ":" -f2)
- if [[ ! "$ARCH" =~ "amd64" ]] && [[ ! "$ARCH" =~ "all" ]] ; then
+ if [[ ! "$ARCH" =~ "amd64" ]] && [[ ! "$ARCH" =~ "all" ]] && [[ ! "$ARCH" =~ "any" ]] ; 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"