[Qa-jenkins-scm] [jenkins.debian.net] 01/01: chroot-installations: ignore ttf-freefont when looking for transitional packages, and add a reminder to do that again, once stretch has been released

Holger Levsen holger at layer-acht.org
Wed Apr 19 10:39:32 UTC 2017


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

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit deab813fbcac8f9e78bc7b575f8655ee6a975c6c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Apr 19 12:39:12 2017 +0200

    chroot-installations: ignore ttf-freefont when looking for transitional packages, and add a reminder to do that again, once stretch has been released
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/chroot-installation.sh         | 9 ++++++++-
 logparse/chroot-installation.rules | 1 +
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh
index aa9462c..3557b19 100755
--- a/bin/chroot-installation.sh
+++ b/bin/chroot-installation.sh
@@ -288,12 +288,19 @@ fi
 #
 if [ "$DISTRO" = "sid" ] ; then
 	# ignore multiarch-support because the transition will never be finished…
-	( sudo chroot $CHROOT_TARGET dpkg -l | grep -v multiarch-support | grep -i "Transitional" 2>/dev/null || true) > $TMPFILE
+	# ignore ttf-freefont, stretch is frozen…
+	( sudo chroot $CHROOT_TARGET dpkg -l \
+		| grep -v multiarch-support \
+		| grep -v ttf-freefont \
+		| grep -i "Transitional" 2>/dev/null || true) > $TMPFILE
 	if [ -s $TMPFILE ] ; then
 		echo
 		echo "Warning: Transitional packages found:"
 		cat $TMPFILE
 	fi
+	if ! cat /etc/debian_version | grep -q ^8 ; then
+		echo "Warning: seems Stretch has been released, please revisit the list of transitional packages to ignore…"
+	fi
 fi
 
 echo "Debug: Removing trap."
diff --git a/logparse/chroot-installation.rules b/logparse/chroot-installation.rules
index fa519b2..006b021 100644
--- a/logparse/chroot-installation.rules
+++ b/logparse/chroot-installation.rules
@@ -3,3 +3,4 @@
 ok /not really/
 
 warning /Warning: Transitional packages found:/
+warning /Warning: seems Stretch has been released.+/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list