[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: install only some packages on the build hosts

Holger Levsen holger at moszumanska.debian.org
Thu Jul 30 10:42:24 UTC 2015


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 bc9f92521388e581a62b9c5557222a53d172fec3
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Jul 30 12:41:26 2015 +0200

    reproducible: install only some packages on the build hosts
---
 update_jdn.sh | 36 ++++++++++++++++++++++--------------
 1 file changed, 22 insertions(+), 14 deletions(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index 110b9cd..0cbe1a4 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -86,12 +86,26 @@ if [ -f /etc/debian_version ] ; then
 	# install packages we need
 	#
 	if [ ./$0 -nt $STAMP ] || [ ! -f $STAMP ] ; then
-		sudo apt-get install \
+		DEBS=" \
+				bash-completion \
+				bc \
+				curl \
+				debootstrap \
+				devscripts \
+				git
+				schroot \
+				screen \
+				subversion \
+				subversion-tools \
+				sudo \
+				unzip \
+				vim \
+			"
+		if [ "$HOSTNAME" = "jenkins" ] ; then
+			MASTERDEBS=" \
 				apache2 \
 				apt-file \
 				apt-listchanges \
-				bash-completion \
-				bc \
 				binfmt-support \
 				bison \
 				build-essential \
@@ -100,9 +114,6 @@ if [ -f /etc/debian_version ] ; then
 				cron-apt \
 				csvtool \
 				cucumber \
-				curl \
-				debootstrap \
-				devscripts \
 				dnsmasq-base \
 				dose-extra \
 				dstat \
@@ -170,21 +181,14 @@ if [ -f /etc/debian_version ] ; then
 				ruby-packetfu \
 				ruby-rjb \
 				ruby-rspec \
-				schroot \
-				screen \
 				seabios \
 				shorewall \
 				shorewall6 \
 				sqlite3 \
 				squid3 \
-				subversion \
-				subversion-tools \
-				sudo \
 				syslinux \
 				tcpdump \
 				unclutter \
-				unzip \
-				vim \
 				virt-viewer \
 				vncsnapshot \
 				vnstat \
@@ -193,7 +197,11 @@ if [ -f /etc/debian_version ] ; then
 				xtightvncviewer \
 				xvfb \
 				zutils \
-				sysvinit-core
+				sysvinit-core"
+		else
+			MASTERDEBS=""
+		fi
+		sudo apt-get install "$DEBS $MASTERDEBS"
 		sudo apt-get install -t jessie-backports \
 				pbuilder
 		#		botch

-- 
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