summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2015-02-02 15:01:02 +0200
committerRiku Voipio <riku.voipio@linaro.org>2015-02-02 15:01:02 +0200
commitd3108c50721a6b6236de17df415cd1c668d98788 (patch)
tree331211ac29034137c256c1a46ec8f676fbc3b6bf
parent33ef66465573dc8d2d38188a47a04efaa0837e60 (diff)
downloadlibvirt-ci-d3108c50721a6b6236de17df415cd1c668d98788.tar.gz
put root commands behind sudo
-rwxr-xr-xjenkinsbuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/jenkinsbuild.sh b/jenkinsbuild.sh
index e13e754..ba69a37 100755
--- a/jenkinsbuild.sh
+++ b/jenkinsbuild.sh
@@ -22,8 +22,8 @@ debian_dir=./debian
# clean up previous build files
#
-apt-get update
-apt-get install wget
+sudo apt-get update
+sudo apt-get install wget
rm *.deb
rm *.ddeb
@@ -139,5 +139,5 @@ source="file:/$dsc"
builder_repo=http://git.linaro.org/git/ci/ubuntu-packaging-tools.git
rm -rf ubuntu-packaging-tools
git clone ${builder_repo}
-ubuntu-packaging-tools/dockerbuild
+sudo ubuntu-packaging-tools/dockerbuild