index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-09-11 15:09:43 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-11 15:09:43 +0200 |
commit | 2b4578976b2eb99a753c43b6edee3e165c2e14b1 (patch) | |
tree | 484b2345f5aafe4b08c6c253af1aae42c4ea26ee /lib | |
parent | b5c62d73ccf7e4007c8b7e8f8af87686b6aaf866 (diff) |
-rwxr-xr-x | lib/mysql-functions | 5 |
diff --git a/lib/mysql-functions b/lib/mysql-functions index df51aed..363ed47 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -562,6 +562,11 @@ mysql_sanity_check() { mysql_join_binary_packages_in_repositories_binary_packages 'b_bir' 'b' printf ' AND `a`.`pkgname`=`b`.`pkgname`' printf ' AND `a`.`id`!=`b`.`id`' + printf ' AND (' + printf '`a_r`.`architecture`!=%s' \ + "${architecture_ids__any}" + printf ' OR `a`.`architecture`=`b`.`architecture`' + printf ')' printf ' WHERE `a_r`.`stability` NOT IN (%s,%s)' \ "${repository_stability_ids__forbidden}" \ "${repository_stability_ids__virtual}" |