[Git][qa/jenkins.debian.net][master] trbo: install diffoscope with recommends always

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Aug 21 16:18:32 BST 2026



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
32286981 by Holger Levsen at 2026-08-21T17:18:21+02:00
trbo: install diffoscope with recommends always

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/schroot-create.sh


Changes:

=====================================
bin/schroot-create.sh
=====================================
@@ -1,7 +1,7 @@
 #!/bin/bash
 # vim: set noexpandtab:
 
-# Copyright © 2012-2022 Holger Levsen <holger at layer-acht.org>
+# Copyright © 2012-2026 Holger Levsen <holger at layer-acht.org>
 #           ©      2013 Antonio Terceiro <terceiro at debian.org>
 #           ©      2014 Joachim Breitner <nomeata at debian.org>
 #           © 2015-2023 Mattia Rizzolo <mattia at debian.org>
@@ -106,7 +106,12 @@ install_diffoscope() {
 		robust_chroot_apt install -y --install-recommends diffoscope
 		diffoscope_installed=true
 	else
-		echo "diffoscope is not available in the base distribution.  Not installing, hoping it will be installed later from unstable/experimental."
+		echo "diffoscope is not available in the base distribution."
+		echo "Attempting to install diffoscope from unstable now."
+		echo "deb $MIRROR unstable main" | sudo tee -a "$SCHROOT_TARGET/etc/apt/sources.list" > /dev/null
+		robust_chroot_apt update
+		# install diffoscope from unstable
+		robust_chroot_apt install -y -t unstable --install-recommends diffoscope || echo "Warning: diffoscope from unstable is uninstallable at the moment."
 	fi
 
 	# try to use diffoscope from unstable if available/possible



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/322869814d052a2554d59d43c24a0346e31bacc6

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/322869814d052a2554d59d43c24a0346e31bacc6
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20260821/1251d91d/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list