[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.50-174-ga23da25
Holger Levsen
holger at layer-acht.org
Mon May 13 14:09:11 UTC 2013
The following commit has been merged in the develop branch:
commit 6896dfef5257e5210a6f5ce23bd6638b597e4537
Author: Andreas Beckmann <anbe at debian.org>
Date: Sun May 12 00:26:16 2013 +0200
post_*_squeeze-backports: some special handling needed
similarily to experimental we can't easily use
apt-get dist-upgrade -t squeeze-backports
so maintain a list of packages in the minimal base system that
need to be upgraded in the reference system to bpo to avoid mismatches
Signed-off-by: Andreas Beckmann <anbe at debian.org>
diff --git a/custom-scripts/scripts/post_distupgrade_squeeze-backports b/custom-scripts/scripts/post_distupgrade_squeeze-backports
new file mode 100755
index 0000000..041a2c0
--- /dev/null
+++ b/custom-scripts/scripts/post_distupgrade_squeeze-backports
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+
+test "$PIUPARTS_DISTRIBUTION" = "squeeze-backports" || exit 0
+
+# apt-get -t squeeze-backports dist-upgrade may pull in too many
+# packages that are not co-installable in squeeze-backports
+# so maintain a list of packages in the sid base system
+# that are in squeeze-backports, too, and don't cause problems
+
+PKGS=""
+PKGS="$PKGS insserv"
+
+apt-get -y -t squeeze-backports install $PKGS
diff --git a/custom-scripts/scripts/post_setup_squeeze-backports b/custom-scripts/scripts/post_setup_squeeze-backports
new file mode 120000
index 0000000..0b8430b
--- /dev/null
+++ b/custom-scripts/scripts/post_setup_squeeze-backports
@@ -0,0 +1 @@
+post_distupgrade_squeeze-backports
\ No newline at end of file
diff --git a/debian/changelog b/debian/changelog
index 35132e0..5378545 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -65,6 +65,8 @@ piuparts (0.51) UNRELEASED; urgency=low
* Update and add new exceptions for buggy packages.
* scripts-wheezy/post_setup_wheezy-fake-essential: New custom script to
suppress some purge failures in wheezy.
+ * post_{setup,distupgrade}_squeeze-backports: New custom scripts to improve
+ support for squeeze-backports.
* New known problem: Database setup failure (issue).
[ David Steele ]
--
piuparts git repository
More information about the Piuparts-commits
mailing list