diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2014-08-07 07:24:47 +0000 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2014-08-07 07:24:47 +0000 |
commit | 37a4d6e7b5db10cf9a21683a53c4fbb4d19cc56a (patch) | |
tree | 57e9f7d3dfa3c88173c6ff91afec8ec765182faf | |
parent | 4b0a19513761f203f40d991cc31ccc73aa93265f (diff) | |
parent | c8d405f2064f2bd2e42231c2d8e80377833da30b (diff) |
Merge "Allow mounting,unmounting partition image files for jenkins-build user and archiving the same."
-rwxr-xr-x | node/setup-build-android | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/node/setup-build-android b/node/setup-build-android index 5ea87e4..094d94b 100755 --- a/node/setup-build-android +++ b/node/setup-build-android @@ -141,3 +141,7 @@ sudo apt-get install -y acpica-tools echo "jenkins-build ALL = NOPASSWD: /usr/bin/linaro-android-media-create" >>/etc/sudoers # Allow 'jenkins-build' user to set java version used to build Android echo "jenkins-build ALL = NOPASSWD: /usr/sbin/update-java-alternatives" >>/etc/sudoers +# Allow 'jenkins-build' user to mount, umount img files as well as tar the same with --selinux option. +echo "jenkins-build ALL = NOPASSWD: /bin/mount" >>/etc/sudoers +echo "jenkins-build ALL = NOPASSWD: /bin/umount" >>/etc/sudoers +echo "jenkins-build ALL = NOPASSWD: /bin/tar" >>/etc/sudoers |