[Git][qa/jenkins.debian.net][master] buildinfos.d.n: alias all-source to all

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Apr 10 19:00:00 BST 2026



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


Commits:
51c5e3ca by Jochen Sprickerhof at 2026-04-10T19:59:53+02:00
buildinfos.d.n: alias all-source to all

This fixes the problem that packages in non-free-firmware are not build
on the buildd and maintainers upload buildinfo files containing arch:all
and source, though rebuilderd searchs for arch:all only.

(cherry picked from commit 84b28c8138fd3d0d0f5ab3e7b95dbfcb91a221ab)
Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_pool_buildinfos.sh


Changes:

=====================================
bin/reproducible_pool_buildinfos.sh
=====================================
@@ -65,6 +65,14 @@ do_day(){
 		fi
 		ARCHITECTURE=$(grep ^Architecture: $FILE | cut -d ' ' -f2-|sed 's# #-#g')
 		FULLTARGET="$TARGETPATH/${PACKAGE}_${VERSION}_${ARCHITECTURE}.buildinfo"
+		if [[ "$ARCHITECTURE" == *source* ]]; then
+			EXTRA_ARCHITECTURE=$(grep ^Architecture: $FILE | cut -d ' ' -f2-|sed 's#source \| source##'|sed 's# #-#g')
+			EXTRA_FULLTARGET="$TARGETPATH/${PACKAGE}_${VERSION}_${EXTRA_ARCHITECTURE}.buildinfo"
+			if [ ! -e "$EXTRA_FULLTARGET" ] && [ -e "$MONTHPATH/$DAY/$FILE" ] ; then
+				ln -s $MONTHPATH/$DAY/$FILE $EXTRA_FULLTARGET
+				let COUNTER+=1
+			fi
+		fi
 		if [ "$(readlink -f $FULLTARGET)" = "$MONTHPATH/$DAY/$FILE" ] ; then
 				#echo "$FULLTARGET already points to $MONTHPATH/$DAY/$FILE thus ignoring this...."
 				:



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/51c5e3cadd98fdc5bea7a0de87fe61f6539e90e1
You're receiving this email because of your account on salsa.debian.org.


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


More information about the Qa-jenkins-scm mailing list