From 3569574e14d7c30fddf69eecb45609213dc42111 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 26 Aug 2019 20:19:06 +0200 Subject: 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 --- bin/return-assignment | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/return-assignment') 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 -- cgit v1.2.3-70-g09d2