[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible Debian rebuilder 'thing': prepare showing output
Holger Levsen
gitlab at salsa.debian.org
Wed Apr 1 17:31:37 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
16a76140 by Holger Levsen at 2020-04-01T18:29:02+02:00
reproducible Debian rebuilder 'thing': prepare showing output
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
16cb0c50 by Holger Levsen at 2020-04-01T18:31:13+02:00
reproducible Debian rebuilder 'thing': fix path to match an allowed one
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_debian_rebuilder_prototype.sh
Changes:
=====================================
bin/reproducible_debian_rebuilder_prototype.sh
=====================================
@@ -58,6 +58,8 @@ curl $URLPATH/$FILE | gpg > $FILE || true # we cannot validate the signature and
echo
output_echo "$URLPATH/$FILE with gpg signature stripped:"
cat $FILE
+# a successful build might overwrite the original .buildinfo file...
+cp $FILE $FILE.orig
# prepare rebuild command
DEBREBUILD=$(mktemp -t debrebuild.XXXXXXXX)
@@ -69,11 +71,11 @@ output_echo "trying to debrebuild $PKG..."
# (parsing the debrebuild output to gather this information is way to fragile)
DISTRO=bullseye
output_echo "preparing chroot for $DISTRO"
-sudo sbuild-createchroot $DISTRO /srv/schroots/debrebuild-$DISTRO-amd64 http://deb.debian.org/debian
+sudo sbuild-createchroot $DISTRO /schroots/debrebuild-$DISTRO-amd64 http://deb.debian.org/debian
# I'm a bit surprised this was needed, as debrebuild has code for this...
# FIXME: a bug should probably be file for this as well
-echo 'Acquire::Check-Valid-Until "false";' | sudo tee /srv/schroots/debrebuild-$DISTRO-amd64/etc/apt/apt.conf.d/23-rebuild
+echo 'Acquire::Check-Valid-Until "false";' | sudo tee /schroots/debrebuild-$DISTRO-amd64/etc/apt/apt.conf.d/23-rebuild
# actually run sbuild
# - workaround #955123 in devscripts: debrebuild: please provide --sbuild-output-only option
@@ -87,7 +89,9 @@ echo $SBUILD
echo
eval $SBUILD
-# to be continued...
+# show what we did/created
+output_echo "File artifacts:"
+ls -lart
# the end
rm -f $FILE $DEBREBUILD
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/927c1294fb9da020e777b68c262018dae427169f...16cb0c50c2549ee8ddcb9f46b980eeb036835bdb
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/927c1294fb9da020e777b68c262018dae427169f...16cb0c50c2549ee8ddcb9f46b980eeb036835bdb
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/20200401/9d50b550/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list