From b742eed1f97de637ba660b7d86229bb17ee23b0c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 8 Aug 2015 14:23:40 +0200 Subject: reproducible: only select packages which are scheduled for the arch we are building for --- bin/reproducible_build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') 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) -- cgit v1.2.3-54-g00ecf