index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-01-17 14:34:57 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-17 14:34:57 +0100 |
commit | 294c66ccc56ee6200b288585833cae1d1bfc3ea8 (patch) | |
tree | 94f86681d53a78f02ecae401cf879ed0a828637c | |
parent | ff791f0a90743def1feeec7c0011d753fb15408d (diff) |
-rwxr-xr-x | bin/bootstrap-mysql | 10 |
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql index c73b1e5..75043e6 100755 --- a/bin/bootstrap-mysql +++ b/bin/bootstrap-mysql @@ -100,6 +100,16 @@ fi printf ' AND NOT `binary_packages`.`has_issues`' printf ';\n' + # add all considered packages, so we move split packages together, too + printf 'INSERT IGNORE INTO `package_blobs` (`ps_a`,`ps_b`)' + printf ' SELECT `package_sourcess`.`id`,`package_sources`.`id`' + printf ' FROM `package_sources`' + mysql_join_package_sources_build_assignments + mysql_join_build_assignments_binary_packages + mysql_join_binary_packages_binary_packages_in_repositories + mysql_join_binary_packages_in_repositories_repositories + printf ' WHERE `repositories`.`stability`=`from_stability`;\n' + # these packages are considered for being replaced: # for each moved package printf 'INSERT IGNORE INTO `replaced_bpir` (`id`,`replaced_by`)' |