summaryrefslogtreecommitdiff
path: root/bin/bootstrap-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-12 14:05:09 +0200
committerErich Eckner <git@eckner.net>2019-09-12 14:05:09 +0200
commit2d583a8a688db7823cc2d9bb18ed97ea711f2057 (patch)
tree16a6e22c1461405bb8d7f60ab63346dac229a606 /bin/bootstrap-mysql
parentab868b5cd39b6d3e600ab7d626c4e42ae2361cf9 (diff)
downloadbuilder-2d583a8a688db7823cc2d9bb18ed97ea711f2057.tar.xz
`calculate_maximal_moveable_set` should deliberately break dependencies of to-be-deleted packages
Diffstat (limited to 'bin/bootstrap-mysql')
-rwxr-xr-xbin/bootstrap-mysql2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index 2c63b2a..636ee60 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -272,6 +272,8 @@ fi
printf ' ON `replaced_bpir`.`replaced_by`=`moveable_bpir`.`id`'
printf ' JOIN `binary_packages_in_repositories` AS `repl_bpir`'
printf ' ON `repl_bpir`.`id`=`replaced_bpir`.`id`'
+ # deliberately break to-be-deleted packages
+ printf ' AND NOT `repl_bpir`.`is_to_be_deleted`'
mysql_join_binary_packages_in_repositories_install_target_providers 'repl_bpir'
mysql_join_binary_packages_in_repositories_repositories 'repl_bpir' 'repl_r'
mysql_join_install_target_providers_dependencies_with_versions