From 03bf4891ebbb5f057b57f8e3d9b5e6f83f23a025 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 26 Oct 2015 19:59:55 -0600 Subject: reproducible openwrt/netbsd/coreboot/archlinux: also install and configure kgb-client on pb-build3 --- update_jdn.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'update_jdn.sh') diff --git a/update_jdn.sh b/update_jdn.sh index b059f6ba..d5d82f54 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -152,7 +152,7 @@ if [ -f /etc/debian_version ] ; then esac # needed to run coreboot/openwrt/netbsd jobs case $HOSTNAME in - profitbricks-build3-amd64) DEBS="$DEBS bison cmake diffutils findutils flex g++ gawk gcc git grep iasl libc6-dev m4 make subversion unzip util-linux zlib1g-dev libncurses5-dev libssl-dev locales-all" ;; + profitbricks-build3-amd64) DEBS="$DEBS bison cmake diffutils findutils flex g++ gawk gcc git grep iasl libc6-dev m4 make subversion unzip util-linux zlib1g-dev libncurses5-dev libssl-dev locales-all kgb-client" ;; *) ;; esac if [ "$HOSTNAME" = "jenkins" ] ; then @@ -180,6 +180,7 @@ if [ -f /etc/debian_version ] ; then iasl imagemagick ip2host + kgb-client libapache2-mod-macro libav-tools libcap2-bin @@ -405,10 +406,12 @@ if [ "$HOSTNAME" = "jenkins" ] ; then sudo vgcreate $VGNAME $PVNAME fi fi - - # - # generate the kgb-client configurations - # +fi + +# +# generate the kgb-client configurations +# +if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "profitbricks-build3-amd64" ] ; then cd $BASEDIR KGB_SECRETS="/srv/jenkins/kgb/secrets.yml" if [ -f "$KGB_SECRETS" ] && [ $(stat -c "%a:%U:%G" "$KGB_SECRETS") = "640:jenkins-adm:jenkins-adm" ] ; then -- cgit v1.2.3-54-g00ecf