From 185262a6fbe86440f3e5c433eceb278a879d5ddb Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 14 Nov 2018 15:39:38 +0100 Subject: bin/prioritize-build-list: architecture must match for -d --- bin/prioritize-build-list | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bin/prioritize-build-list') diff --git a/bin/prioritize-build-list b/bin/prioritize-build-list index 2492d54..a16bbb2 100755 --- a/bin/prioritize-build-list +++ b/bin/prioritize-build-list @@ -117,6 +117,13 @@ verbose_flock ${wait_for_lock} 8 mysql_join_binary_packages_binary_packages_in_repositories 's_bp' 's_bpir' printf ' AND `s_bpir`.`repository`=%s' \ "${repository_ids__any_build_list}" + printf ' JOIN `architecture_compatibilities` AS `ac_a`' + printf ' ON `ac_a`.`fully_compatible`' + printf ' AND `ac_a`.`built_for`=`g_bp`.`architecture`' + printf ' JOIN `architecture_compatibilities` AS `ac_b`' + printf ' ON `ac_b`.`fully_compatible`' + printf ' AND `ac_b`.`built_for`=`s_bp`.`architecture`' + printf ' AND `ac_a`.`runs_on`=`ac_b`.`runs_on`' mysql_join_binary_packages_build_assignments 's_bp' 's_ba' printf ' GROUP BY `s_ba`.`id`' printf ') AS `sub_q`' -- cgit v1.2.3-70-g09d2