diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-08 14:23:40 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-08 14:23:40 +0200 |
commit | b742eed1f97de637ba660b7d86229bb17ee23b0c (patch) | |
tree | acbd71fca57831e5b271d64b6376cd7889d42dfd /bin | |
parent | bb7df86fba889e94e2c634c35142da8caa268a6e (diff) | |
download | jenkins.debian.net-b742eed1f97de637ba660b7d86229bb17ee23b0c.tar.xz |
reproducible: only select packages which are scheduled for the arch we are building for
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 4cccab14..09b493d8 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -332,7 +332,9 @@ choose_package () { local RESULT=$(sqlite3 -init $INIT ${PACKAGES_DB} " SELECT s.suite, s.id, s.name, sch.date_scheduled, sch.save_artifacts, sch.notify, s.notify_maintainer, sch.builder FROM schedule AS sch JOIN sources AS s ON sch.package_id=s.id - WHERE sch.date_build_started = '' ORDER BY date_scheduled LIMIT 1") + WHERE sch.date_build_started = '' + AND s.architecture='$ARCH' + ORDER BY date_scheduled LIMIT 1") SUITE=$(echo $RESULT|cut -d "|" -f1) SRCPKGID=$(echo $RESULT|cut -d "|" -f2) SRCPACKAGE=$(echo $RESULT|cut -d "|" -f3) |