summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-08-26 20:19:06 +0200
committerErich Eckner <git@eckner.net>2019-08-26 20:19:06 +0200
commit3569574e14d7c30fddf69eecb45609213dc42111 (patch)
treed55b17713f633ac2c1d9f4a46ae7550ac1cb2712 /bin
parentd2947128a9654dae4abcb6fecfa25f4001c0be23 (diff)
downloadbuilder-3569574e14d7c30fddf69eecb45609213dc42111.tar.xz
bin/return-assignment: be extra save for rescheduling: having a binary_package whose build_assignment is not yet built is not sufficient - we want a binary_packages on the build-list which fulfils that condition
Diffstat (limited to 'bin')
-rwxr-xr-xbin/return-assignment3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index c7805cb..9987711 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -1052,6 +1052,9 @@ cut -d' ' -f4,5 "${tmp_dir}/repository-ids" | \
mysql_join_toolchain_order_package_sources 'early' 'early_ps'
mysql_join_package_sources_build_assignments 'early_ps' 'early_ba'
mysql_join_build_assignments_binary_packages 'early_ba' 'early_bp'
+ mysql_join_binary_packages_binary_packages_in_repositories 'early_bp' 'early_bpir'
+ printf ' AND `early_bpir`.`repository`=%s' \
+ "${repository_ids__any_build_list}"
printf ' WHERE ('
printf '`early_bp`.`architecture`=`binary_packages`.`architecture`'
# shellcheck disable=SC2154