[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: fix typo and be more verbose

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Aug 29 19:42:46 BST 2022



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


Commits:
bdd2390d by Holger Levsen at 2022-08-29T20:42:30+02:00
reproducible Debian: fix typo and be more verbose

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

- - - - -


1 changed file:

- bin/reproducible_debstrap.sh


Changes:

=====================================
bin/reproducible_debstrap.sh
=====================================
@@ -19,6 +19,7 @@ cleanup() {
 	# Cleanup the workspace and results directory
 	for CLEANUP in ${BUILDDIR} ${RESULTSDIR} ; do
 		if [ ! -z "$CLEANUP" ]; then
+			output_echo "Removing ${CLEANUP}"
 			sudo rm -rf --one-file-system ${CLEANUP}
 		fi
 	done
@@ -67,7 +68,7 @@ for LOOP in "first" "second" ; do
 				done
 				for FILE in /etc/machine-id /var/cache/ldconfig/aux-cache ; do
 					output_echo "Warning: modifying $TOOL result, deleting unreproducible file $FILE because it will be created as needed"
-					sudo rm -rf --one-file-system $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}/FILE
+					sudo rm -rf --one-file-system $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}/$FILE
 				done
 				sudo tar --mtime="@$SOURCE_DATE_EPOCH" --clamp-mtime -C $BUILDDIR/$SUBDIR/${TOOL}/ -cf $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}.tar ${SUITE}
 				sudo rm -rf --one-file-system $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/bdd2390d72b2520f787284a1c8db77b6cdc842f7
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/20220829/19c2a75e/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list