[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible OpenWrt: preserve more build artifacts. Patch by Daniel Golle.

Holger Levsen (@holger) gitlab at salsa.debian.org
Sun Feb 13 19:18:55 GMT 2022



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


Commits:
93d05a2e by Holger Levsen at 2022-02-13T20:18:40+01:00
reproducible OpenWrt: preserve more build artifacts. Patch by Daniel Golle.

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

- - - - -


1 changed file:

- bin/reproducible_openwrt.sh


Changes:

=====================================
bin/reproducible_openwrt.sh
=====================================
@@ -166,7 +166,7 @@ save_openwrt_results() {
 
 			# save firmware images
 			mkdir -p "$TMPDIR/$RUN/targets/$target/$subtarget/"
-			for image in $(find * -name "*.bin" -o -name "*.squashfs") ; do
+			for image in $(find * -name "*.bin" -o -name "*.bin.gz" -o -name "*.img" -o -name "*.img.gz" -o -name "*.itb" -o -name "*.squashfs") ; do
 				cp -p "$image" "$TMPDIR/$RUN/targets/$target/$subtarget/"
 			done
 
@@ -567,9 +567,9 @@ for target in * ; do
 		cd "$subtarget"
 
 		# search images in both paths to find non-existing ones
-		IMGS1=$(find -- * -type f -name "*.bin" -o -name "*.squashfs" | sort -u )
+		IMGS1=$(find -- * -type f -name "*.bin" -o -name "*.bin.gz" -o -name "*.img" -o -name "*.img.gz" -o -name "*.itb" -o -name "*.squashfs" | sort -u )
 		pushd "$RESULTSDIR/b2/targets/$target/$subtarget"
-		IMGS2=$(find -- * -type f -name "*.bin" -o -name "*.squashfs" | sort -u )
+		IMGS2=$(find -- * -type f -name "*.bin" -o -name "*.bin.gz" -o -name "*.img" -o -name "*.img.gz" -o -name "*.itb" -o -name "*.squashfs" | sort -u )
 		popd
 
 		echo "       <table><tr><th>Images for <code>$target/$subtarget</code></th></tr>" >> "$DBD_HTML"



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/93d05a2ed510185436dc1590a4ae777d4b041b31
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/20220213/30b0cc59/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list