index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-06-07 16:06:06 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-07 16:06:06 +0200 |
commit | 19331c922ef3903a622d02fb0070ab006216579a (patch) | |
tree | 9f65fd62bc04e9d949a63b3737d1aaeae11eec6c /bin | |
parent | dd8de0e6238cb9ab6f48d727b4646d163e0ec961 (diff) |
-rwxr-xr-x | bin/return-assignment | 5 |
diff --git a/bin/return-assignment b/bin/return-assignment index c37aef1..fe63e69 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -464,8 +464,6 @@ if [ ! -s "${tmp_dir}/package-ids" ]; then exit 4 fi -# TODO: we need to filter out some architectures here - # shellcheck disable=SC2016 { printf 'SELECT `binary_packages`.`id`,' @@ -479,6 +477,9 @@ fi mysql_join_upstream_repositories_repository_moves printf ' JOIN `repositories` as `t` ON `t`.`id`=`repository_moves`.`to_repository`' mysql_join_repositories_architectures 't' 't_a' + printf ' JOIN `architecture_compatibilities`' + printf ' ON `architecture_compatibilities`.`built_for`=`binary_packages`.`architecture`' + printf ' AND `architecture_compatibilities`.`runs_for`=`t`.`architecture`' printf ' WHERE `repository_moves`.`from_repository`=%s' \ "${repository_ids__any_build_list}" printf ' AND `build_assignments`.`id`=from_base64("%s");\n' \ |