Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-assignment
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-26 20:04:17 +0200
committerErich Eckner <git@eckner.net>2018-09-26 20:04:17 +0200
commit080a93fc7d9f2e35938f690daf95d4b36b3b5b5e (patch)
treeadde9226d68ac78bf28a3a838fedb3c4c071e249 /bin/get-assignment
parent3c1278c520987087f8b830d56367fa63695f1717 (diff)
bin/get-assignment: toolchain packages do not need other dependencies fulfilled
Diffstat (limited to 'bin/get-assignment')
-rwxr-xr-xbin/get-assignment3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index f670df1..804501b 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -175,6 +175,8 @@ next_building=$(
printf ' AND `architecture_compatibilities`.`fully_compatible`'
printf ' JOIN `architectures`'
printf ' ON `architecture_compatibilities`.`runs_on`=`architectures`.`id`'
+ printf ' LEFT'
+ mysql_join_package_sources_toolchain_order
printf ' WHERE ('
printf '`build_assignments`.`is_blocked` IS NULL'
if [ -n "${requested}" ]; then
@@ -186,6 +188,7 @@ next_building=$(
mysql_query_is_part_of_loop '`build_assignments`.`id`'
printf ' OR NOT '
mysql_query_has_pending_dependencies '`architectures`.`id`' '`build_assignments`.`id`'
+ printf ' OR `toolchain_order`.`pkgbase` IS NOT NULL'
printf ')'
printf ' AND `binary_packages_in_repositories`.`repository`=%s' \
"${repository_ids__any_build_list}"