[Piuparts-commits] [piuparts] 01/08: scripts-sysvinit: for testing wheeze->jessie without switching to systemd

Holger Levsen holger at moszumanska.debian.org
Mon Feb 9 13:37:25 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 b7f30149b3d4dbcad708bcd5f8a7276d32cdb879
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Feb 9 11:38:13 2015 +0100

    scripts-sysvinit: for testing wheeze->jessie without switching to systemd
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 custom-scripts/scripts-sysvinit/pre_distupgrade_zz_sysvinit | 9 +++++++++
 debian/changelog                                            | 2 ++
 2 files changed, 11 insertions(+)

diff --git a/custom-scripts/scripts-sysvinit/pre_distupgrade_zz_sysvinit b/custom-scripts/scripts-sysvinit/pre_distupgrade_zz_sysvinit
new file mode 100755
index 0000000..80cbc71
--- /dev/null
+++ b/custom-scripts/scripts-sysvinit/pre_distupgrade_zz_sysvinit
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e
+
+if [ "$PIUPARTS_DISTRIBUTION_NEXT" = "jessie" ]; then
+
+	apt-get update
+	apt-get -y install sysvinit-core
+
+fi
diff --git a/debian/changelog b/debian/changelog
index 8338a30..0324228 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,8 @@ piuparts (0.63) UNRELEASED; urgency=medium
   * detect_piuparts_issues: Detect transient apt-cache failures.
   * generate_daily_report: Remove obsolete .html files (e.g. summaries for
     removed source packages or retired maintainers) after 30 days.
+  * scripts-sysvinit/pre_distupgrade_zz_sysvinit: New custom script for doing
+    wheezy->jessie upgrade tests while keeping sysvinit as init if possible.
   * scripts/pre_remove_40_find_unowned_lib_links: Ignore /lib/ld-lsb.so.[123]
     links created by lsb-core.
   * scripts-no-usr-share-doc: Add exception for localepurge.

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