index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/seed-build-list | 9 |
diff --git a/bin/seed-build-list b/bin/seed-build-list index 7c3cf9d..385dd99 100755 --- a/bin/seed-build-list +++ b/bin/seed-build-list @@ -327,7 +327,7 @@ fi fi # auto-detect pkgbases if ${auto}; then -#TODO: there is some architecture logic missing here +# TODO: there is some architecture logic missing here printf 'SELECT DISTINCT "pkgbase",1,`package_sources`.`pkgbase`,`upstream_repositories`.`name` FROM (' printf 'SELECT DISTINCT `binary_packages`.`id`,' printf '`binary_packages`.`build_assignment`' @@ -379,6 +379,13 @@ fi printf ' JOIN `repository_stability_relations` AS `ss_rsr`' printf ' ON `ss_rsr`.`less_stable`=`ss_r`.`stability`' printf ' WHERE `ss_bp`.`pkgname`=`subst_bp`.`pkgname`' + printf ' AND (' + printf '`ss_bp`.`architecture`=`subst_bp`.`architecture`' + printf ' OR `ss_bp`.`architecture`=%s' \ + "${architecture_ids__any}" + printf ' OR `subst_bp`.`architecture`=%s' \ + "${architecture_ids__any}" + printf ')' printf ' AND `ss_bp`.`id`!=`subst_bp`.`id`' printf ' AND `ss_rsr`.`more_stable`=`subst_r`.`stability`' printf ')' |