[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: mv debootstrap tar archive to the expected location

Holger Levsen (@holger) gitlab at salsa.debian.org
Mon Aug 29 18:41:58 BST 2022



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


Commits:
3a1cff29 by Holger Levsen at 2022-08-29T19:41:42+02:00
reproducible Debian: mv debootstrap tar archive to the expected location

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

- - - - -


1 changed file:

- bin/reproducible_debstrap.sh


Changes:

=====================================
bin/reproducible_debstrap.sh
=====================================
@@ -58,19 +58,19 @@ for LOOP in "first" "second" ; do
 		mmdebstrap)	sudo $REALTOOL $SUITE > $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}.tar
 				;;
 		debootstrap)	sudo $REALTOOL $SUITE $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}
-				sudo tar --mtime="@$SOURCE_DATE_EPOCH" --clamp-mtime -C $BUILDDIR/$SUBDIR/${TOOL}/ -cf ${SUITE}.tar ${SUITE}
+				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}
 				;;
 		*)		echo "Failure: ${TOOL} is unsupported."
 				exit 1
 				;;
 	esac
+	mv $BUILDDIR/$SUBDIR $RESULTSDIR/ 1>/dev/null
 done
 
 output_echo "Done running ${TOOL} twice."
 
 # show sha256sum results
-mv $BUILDDIR/b1 $BUILDDIR/b2 $RESULTSDIR/ 1>/dev/null
 sha256sum $RESULTSDIR/b1/${TOOL}/${SUITE}.tar $RESULTSDIR/b2/${TOOL}/${SUITE}.tar
 
 # show human readable results



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/3a1cff29fa3c30487c4b2cefef765a145a89a08d
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/5d618b02/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list