[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: work around two more logfiles kept by debootstrap
Holger Levsen (@holger)
gitlab at salsa.debian.org
Mon Aug 29 19:25:01 BST 2022
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
06f47311 by Holger Levsen at 2022-08-29T20:24:48+02:00
reproducible Debian: work around two more logfiles kept by debootstrap
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_debstrap.sh
Changes:
=====================================
bin/reproducible_debstrap.sh
=====================================
@@ -61,9 +61,9 @@ for LOOP in "first" "second" ; do
mmdebstrap) sudo $REALTOOL $SUITE > $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}.tar
;;
debootstrap) sudo $REALTOOL $SUITE $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}
- for i in /var/log/alternatives.log ; do
+ for i in /var/log/bootstrap.log /var/log/dpkg.log /var/log/alternatives.log ; do
output_echo "Warning: modifying $TOOL result, deleting unreproducible logfile $LOGFILE"
- sudo rm -rf --one-file-system $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}/var/log/alternatives.log
+ sudo rm -rf --one-file-system $BUILDDIR/$SUBDIR/${TOOL}/${SUITE}/$LOGFILE
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/06f473115eaa55b36b009921dbade039d06fb19a
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/06f473115eaa55b36b009921dbade039d06fb19a
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/d3c21844/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list