diff options
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2012-05-24 14:50:02 +0300 |
---|---|---|
committer | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2012-05-24 14:50:02 +0300 |
commit | 84fde359211c558e1b31bdc8a5d9d65065942f40 (patch) | |
tree | 1b2324e428620d1d3bd62165d814c62ee8af26de /control | |
parent | d66f3d72cba000b940680f184f327d77c5768412 (diff) |
Consistently make apt-get quiet.
Diffstat (limited to 'control')
-rwxr-xr-x | control/setup-control-node | 14 | ||||
-rwxr-xr-x | control/setup-control-node-via-ssh | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/control/setup-control-node b/control/setup-control-node index e1c6eb9..e5ecdb3 100755 --- a/control/setup-control-node +++ b/control/setup-control-node @@ -19,7 +19,7 @@ REPO_MIRROR="--repo-url=git://android.git.linaro.org/tools/repo.git" # +++ BASE +++ # -sudo apt-get update +sudo apt-get update -qq sudo apt-get install -qq -y git-core gnupg bzr make # @@ -27,8 +27,8 @@ sudo apt-get install -qq -y git-core gnupg bzr make # wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - echo 'deb http://pkg.jenkins-ci.org/debian binary/' | sudo tee /etc/apt/sources.list.d/jenkins-ci.list > /dev/null -sudo apt-get update -sudo apt-get install -y jenkins python-lxml +sudo apt-get update -qq +sudo apt-get install -qq -y jenkins python-lxml sudo sed -i 's%HTTP_PORT=8080%HTTP_PORT=9090%' /etc/default/jenkins sudo sed -i 's%JENKINS_ARGS="%&--prefix=/jenkins %' /etc/default/jenkins @@ -64,7 +64,7 @@ ls -l ~jenkins/plugins/ # +++ APACHE +++ # enable mod proxy -sudo apt-get install -y apache2 libapache2-mod-wsgi +sudo apt-get install -qq -y apache2 libapache2-mod-wsgi sudo a2enmod proxy sudo a2enmod proxy_http sudo a2enmod headers @@ -205,7 +205,7 @@ sudo -H -u git-mirror /usr/local/bin/repo init $REPO_MIRROR -u git://android.git # # +++ git: daemon +++ # -sudo apt-get install -y git-daemon-run +sudo apt-get install -qq -y git-daemon-run cat <<EOF | sudo tee /etc/sv/git-daemon/run > /dev/null #!/bin/sh exec 2>&1 @@ -239,7 +239,7 @@ sudo -H -u git-mirror twistd -y mirror-service.tac --umask=0022 --pid ~git-mirro # +++ android build service frontend +++ # -sudo apt-get install -y python-virtualenv python-lxml python-openid tidy +sudo apt-get install -qq -y python-virtualenv python-lxml python-openid tidy sudo adduser --system build-system-frontend sudo mkdir -p /var/lib/linaro-abs-frontend/ sudo chown www-data /var/lib/linaro-abs-frontend/ @@ -281,7 +281,7 @@ cd ~build-system-frontend/frontend yes no | sudo -u www-data ./bin/manage syncdb --settings settings_prod sudo -u www-data ./bin/manage loaddata --settings settings_prod group-fixture.json -sudo apt-get install -y unzip python-cssutils +sudo apt-get install -qq -y unzip python-cssutils sudo -H -u build-system-frontend sh -xes "$@" <<\EOF cd wget -c -q http://yui.zenfs.com/releases/yui3/yui_3.3.0.zip diff --git a/control/setup-control-node-via-ssh b/control/setup-control-node-via-ssh index 987b54c..1cac59d 100755 --- a/control/setup-control-node-via-ssh +++ b/control/setup-control-node-via-ssh @@ -18,7 +18,7 @@ echo "Installing cloud-buildd on: $HOST" ssh -A $CRED <<EOF set -xe - sudo apt-get update + sudo apt-get update -qq sudo apt-get install -qq -y bzr rm -rf linaro-android-build-tools bzr clone $BRANCH linaro-android-build-tools |