[Piuparts-commits] [piuparts] 14/15: post_distupgrade_exceptions: handle db5.1-util like db4.8-util
Holger Levsen
holger at moszumanska.debian.org
Mon Dec 1 09:43:59 UTC 2014
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit 6d1bbb6b812c9bf29471979592268d2ef8885ae1
Author: Andreas Beckmann <anbe at debian.org>
Date: Mon Dec 1 02:18:55 2014 +0100
post_distupgrade_exceptions: handle db5.1-util like db4.8-util
Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
custom-scripts/scripts/post_distupgrade_exceptions | 17 +++++++++++++++++
debian/changelog | 1 +
2 files changed, 18 insertions(+)
diff --git a/custom-scripts/scripts/post_distupgrade_exceptions b/custom-scripts/scripts/post_distupgrade_exceptions
index 8aa33a6..ebde231 100755
--- a/custom-scripts/scripts/post_distupgrade_exceptions
+++ b/custom-scripts/scripts/post_distupgrade_exceptions
@@ -21,3 +21,20 @@ if [ "$PIUPARTS_DISTRIBUTION" = "wheezy" ] || \
esac
fi
+
+if [ "$PIUPARTS_DISTRIBUTION" = "jessie" ] || \
+ [ "$PIUPARTS_DISTRIBUTION" = "jessie-proposed" ] ; then
+
+ # libdb5.1/wheezy is part of the minimal wheezy chroot and
+ # remains installed after distupgrade even if it no longer
+ # exists in jessie
+ # db5.1-util/jessie Conflicts/Replaces libdb5.1, so ensure it
+ # gets removed from the reference chroot, too
+ case ${PIUPARTS_OBJECTS%%=*} in
+ db5.1-util)
+ log_debug
+ dpkg --purge libdb5.1
+ ;;
+ esac
+
+fi
diff --git a/debian/changelog b/debian/changelog
index cdfec25..1d52d37 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,7 @@ piuparts (0.61) UNRELEASED; urgency=medium
architectures for testing cross toolchain packages.
* pre_remove_40_find_unowned_lib_links, unowned_lib_symlink_*.conf: New
script and reports for unowned symlinks in [/usr]/lib[/<triplet>].
+ * post_distupgrade_exceptions: Handle libdb5.1 removal in jessie.
* Rework the file-rc/sysvinit/upstart/systemd specific exceptions.
* Update custom scripts handling databases, experimental, ... and some more.
* Update bug templates.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list