[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian rebuilder 'thing': we also need to fetch the sources ourselves...
Holger Levsen
gitlab at salsa.debian.org
Wed Apr 1 17:52:20 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
af09d301 by Holger Levsen at 2020-04-01T18:52:09+02:00
reproducible Debian rebuilder 'thing': we also need to fetch the sources ourselves...
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
=====================================
@@ -63,7 +63,7 @@ cp $FILE $FILE.orig
# prepare rebuild command
DEBREBUILD=$(mktemp -t debrebuild.XXXXXXXX)
-output_echo "trying to debrebuild $PKG..."
+output_echo "trying to debrebuild $PKG"
# workaround until devscripts 2.20.3 is released
/srv/jenkins/bin/rb-debrebuild $FILE 2>&1 | tee $DEBREBUILD
@@ -77,6 +77,11 @@ sudo sbuild-createchroot $DISTRO /schroots/debrebuild-$DISTRO-amd64 http://deb.d
# FIXME: a bug should probably be file for this as well
echo 'Acquire::Check-Valid-Until "false";' | sudo tee /schroots/debrebuild-$DISTRO-amd64/etc/apt/apt.conf.d/23-rebuild
+# I guess I think it would be nice if debrebuild would also do this:
+# FIXME: file another wishlist bug?
+output_echo "fetching source package $PKG"
+dget https://deb.debian.org/debian/pool/main/$POOLPATH/$PKG/${PKG}_5.0-6.dsc
+
# actually run sbuild
# - workaround #955123 in devscripts: debrebuild: please provide --sbuild-output-only option
# - using tail
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/af09d301ce5e41fb77eab4f3205ee2ece1b268f6
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/af09d301ce5e41fb77eab4f3205ee2ece1b268f6
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/f69ca57c/attachment.html>
More information about the Qa-jenkins-scm
mailing list