From deab813fbcac8f9e78bc7b575f8655ee6a975c6c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 19 Apr 2017 12:39:12 +0200 Subject: 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 --- bin/chroot-installation.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'bin/chroot-installation.sh') diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh index aa9462c8..3557b198 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." -- cgit v1.2.3-54-g00ecf