[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian rebuilder 'thing': improve output if base distro cannot be found
Holger Levsen
gitlab at salsa.debian.org
Fri May 1 00:45:50 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
4a364fb7 by Holger Levsen at 2020-05-01T01:45:43+02:00
reproducible Debian rebuilder 'thing': improve output if base distro cannot be found
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
=====================================
@@ -105,6 +105,13 @@ output_echo "trying to debrebuild $PKG"
# FIXME: file a bug like '#955123 debrebuild: please provide --sbuild-output-only option' but with --output-only-base-release
# (parsing the debrebuild output to gather this information is way to fragile)
DISTRO=$(tail -1 $DEBREBUILD | grep '^BASE_DIST=' | cut -d '=' -f2)
+case $DISTRO in
+ stretch|buster|bullseye|bookworm|unstable) ;;
+ *) output_echo "unknown distro, something went wrong with debrebuild..."
+ cat $DEBREBUILD
+ exit 1
+ ;;
+esac
output_echo "preparing chroot for $DISTRO"
# FIXME: "|| true" is dummy code for regenerating this chroot every other week or so
sudo sbuild-createchroot $DISTRO /schroots/debrebuild-$DISTRO-amd64 http://deb.debian.org/debian || true
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/4a364fb73388b6cba20cc25e0c0ab559c96c3850
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/4a364fb73388b6cba20cc25e0c0ab559c96c3850
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/20200430/89142572/attachment.html>
More information about the Qa-jenkins-scm
mailing list