[Piuparts-commits] [piuparts] 01/02: deterministic gcc-X.Y-base handling on upgrades

Holger Levsen holger at moszumanska.debian.org
Thu Mar 5 21:01:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit f89c9e8537def172dc5f23f1705501c188ff5ac0
Author: Andreas Beckmann <anbe at debian.org>
Date:   Thu Mar 5 21:45:44 2015 +0100

    deterministic gcc-X.Y-base handling on upgrades
    
    purge obsolete gcc-X.Y-base packages from reference chroots after distupgrade
    otherwise they may get removed on some upgrade paths while being kept in the
    reference
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 custom-scripts/scripts/post_distupgrade_base_cleanup | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/custom-scripts/scripts/post_distupgrade_base_cleanup b/custom-scripts/scripts/post_distupgrade_base_cleanup
index 3e05346..64a14a3 100755
--- a/custom-scripts/scripts/post_distupgrade_base_cleanup
+++ b/custom-scripts/scripts/post_distupgrade_base_cleanup
@@ -42,6 +42,10 @@ if	[ "$PIUPARTS_DISTRIBUTION" = "wheezy" ] || \
 
 	mark_for_purge libdb4.8
 
+	# gcc-4.4-base is part of the minimal squeeze chroot
+	# but it no longer exists in wheezy
+	mark_for_purge gcc-4.4-base
+
 fi
 
 if	[ "$PIUPARTS_DISTRIBUTION" = "jessie" ] || \
@@ -49,6 +53,10 @@ if	[ "$PIUPARTS_DISTRIBUTION" = "jessie" ] || \
 
 	mark_for_purge libdb5.1
 
+	# gcc-4.7-base is part of the minimal wheezy chroot
+	# but it no longer exists in jessie
+	mark_for_purge gcc-4.7-base
+
 fi
 
 if [ -n "$PURGE" ]; then

-- 
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