From 294c66ccc56ee6200b288585833cae1d1bfc3ea8 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 17 Jan 2019 14:34:57 +0100 Subject: bin/bootstrap-mysql: add all packages to package_blobs, so we move split packages together, too --- bin/bootstrap-mysql | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'bin/bootstrap-mysql') 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`)' -- cgit v1.2.3-70-g09d2