[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible gpb packages: install gpb when gbp shall be used

Holger Levsen holger at layer-acht.org
Tue Aug 30 15:27:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit e3954ec16b041e1c3b2380e74042a60290430b9e
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Aug 30 17:26:39 2016 +0200

    reproducible gpb packages: install gpb when gbp shall be used
---
 bin/chroot-run.sh | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index 1028548..924d8f8 100755
--- a/bin/chroot-run.sh
+++ b/bin/chroot-run.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-# Copyright 2012-2014 Holger Levsen <holger at layer-acht.org>
+# Copyright 2012-2016 Holger Levsen <holger at layer-acht.org>
 # Copyright      2013 Antonio Terceiro <terceiro at debian.org>
 # released under the GPLv=2
 
@@ -138,11 +138,18 @@ EOF
 		cat >> $CHROOT_TARGET/tmp/chroot-testrun <<-EOF
 echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/23jenkins
 apt-get install build-essential devscripts git
+if [ "$1" = "gbp" ] ; then
+	apt-get install git-buildpackage
+	git checkout debian
+fi
 if [ -f debian/control ] ; then
 	cat debian/control
 	# install build-depends
 	mk-build-deps -ir
 fi
+if [ "$1" = "gbp" ] ; then
+	git checkout -
+fi
 EOF
 	fi
 	echo "$*" >> $CHROOT_TARGET/tmp/chroot-testrun

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list