summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-30 12:41:26 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-30 12:41:26 +0200
commitbc9f92521388e581a62b9c5557222a53d172fec3 (patch)
treed7efdd08d45e354a46cc37fb59b2f3089614c6f2 /update_jdn.sh
parentd8744aa023bbc7d30b25efd99724b4aa45daadf2 (diff)
downloadjenkins.debian.net-bc9f92521388e581a62b9c5557222a53d172fec3.tar.xz
reproducible: install only some packages on the build hosts
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh36
1 files changed, 22 insertions, 14 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 110b9cd1..0cbe1a4e 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