summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-17 11:21:51 +0100
committerErich Eckner <git@eckner.net>2018-03-17 11:21:51 +0100
commit861171fbba068d6a88ef44b472771ea582e17a90 (patch)
treec1732c3b43fbae02f6a8053ff326eb4f6184f5e6
parentc058238e43130a9323de3bfde29639b747cd6578 (diff)
downloadbuilder-861171fbba068d6a88ef44b472771ea582e17a90.tar.xz
bin/seed-build-list: ignore packages also when chosen by pkgbase
-rwxr-xr-xbin/seed-build-list7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/seed-build-list b/bin/seed-build-list
index 2edf041..341ccc6 100755
--- a/bin/seed-build-list
+++ b/bin/seed-build-list
@@ -297,6 +297,13 @@ printf 'CREATE TEMPORARY TABLE `pkgbases` (`pkgbase` VARCHAR(64), `repository` V
printf ' FROM `pkgbases`'
printf ' JOIN `upstream_repositories` ON `upstream_repositories`.`name`=`pkgbases`.`repository`'
mysql_join_upstream_repositories_git_repositories
+ printf ' WHERE NOT EXISTS ('
+ printf 'SELECT * FROM `ignore_packages`'
+ printf ' JOIN `binary_packages` AS `i_bp` ON `ignore_packages`.`pkgname`=`i_bp`.`pkgname`'
+ mysql_join_binary_packages_build_assignments 'i_bp' 'i_ba'
+ mysql_join_build_assignments_package_sources 'i_ba' 'i_ps'
+ printf ' WHERE `i_ps`.`pkgbase`=`pkgbases`.`pkgbase`'
+ printf ');\n'
printf ';\n'
printf 'SELECT '
printf '`package_sources`.`pkgbase`,'