diff options
author | Erich Eckner <git@eckner.net> | 2018-10-02 23:22:24 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-02 23:22:35 +0200 |
commit | b76874f5ade641de1719c30755428087c205d361 (patch) | |
tree | 206ab78ef189d8e3de29f095ee034f5d8fea5b99 /bin/return-assignment | |
parent | 16f58c74b0e03164153c802e44c9fc034abaa33d (diff) | |
download | builder-b76874f5ade641de1719c30755428087c205d361.tar.xz |
bin/return-assignment: ERROR should use the correct architecture-match, too
Diffstat (limited to 'bin/return-assignment')
-rwxr-xr-x | bin/return-assignment | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/return-assignment b/bin/return-assignment index fca9aca..a514adb 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -80,7 +80,11 @@ if [ "$6" = 'ERROR' ]; then mysql_join_package_sources_upstream_repositories mysql_join_build_assignments_binary_packages mysql_join_binary_packages_binary_packages_in_repositories - mysql_join_build_assignments_architectures + printf ' JOIN `architecture_compatibilities`' + printf ' ON `architecture_compatibilities`.`fully_compatible`' + printf ' AND `architecture_compatibilities`.`built_for`=`build_assignments`.`architecture`' + printf ' JOIN `architectures`' + printf ' ON `architecture_compatibilities`.`runs_on`=`architectures`.`id`' printf ' WHERE `build_slaves`.`id`=from_base64("%s")' \ "$( # shellcheck disable=SC2154 |