Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-10-29 10:58:50 +0100
committerErich Eckner <git@eckner.net>2019-10-29 10:58:50 +0100
commit556c423525f5a401f92fab5cb64eeb233e6a901d (patch)
tree9f9975c529928a155a6acc1366bf4a749f1fad45 /bin
parent2888036d8d177581c37340a3c131db0a21cc6555 (diff)
bin/bootstrap-mysql: `calculate_maximal_moveable_set`: packages can only belong to one package_blob if they reside in repositories of identical architecture (how did "any" packages get moved in the past at all???)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bootstrap-mysql3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index 38e6d8d..cfa5792 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -369,6 +369,9 @@ fi
printf ' AND `bl_ba`.`architecture`=`build_assignments`.`architecture`'
mysql_join_build_assignments_binary_packages 'bl_ba' 'bl_bp'
mysql_join_binary_packages_binary_packages_in_repositories 'bl_bp' 'bl_bpir'
+ mysql_join_binary_packages_in_repositories_repositories
+ mysql_join_binary_packages_in_repositories_repositories 'bl_bpir' 'bl_r'
+ printf ' AND `repositories`.`architecture`=`bl_r`.`architecture`'
printf ' WHERE NOT EXISTS ('
printf 'SELECT 1'
printf ' FROM `moveable_bpir_copy`'