Add sudo commands for icecream deploy operation sandbox/icecream
authory0169.zhang <y0169.zhang@samsung.com>
Mon, 6 Nov 2017 11:44:42 +0000 (19:44 +0800)
committery0169.zhang <y0169.zhang@samsung.com>
Mon, 6 Nov 2017 11:44:42 +0000 (19:44 +0800)
Change-Id: I59afaee7b377d0eb5dd93cdb1d642654a7a39efe

data/gbs

index 4106dcc21b02161e7b6e5fb3923a361d66a6bbfa..ab6e8a1a1e5c96d0647dacd155d84e48cf7566e2 100644 (file)
--- a/data/gbs
+++ b/data/gbs
@@ -1,7 +1,11 @@
 ALL     ALL=(ALL) NOPASSWD: /bin/mount -o bind /*/* */scratch.*
+ALL     ALL=(ALL) NOPASSWD: /bin/mount -o bind */scratch.*/run/icecc/ /run/icecc/
+ALL     ALL=(ALL) NOPASSWD: /bin/mount -t proc /proc/ */scratch.*/proc/
 ALL     ALL=(ALL) NOPASSWD: /bin/umount -l */scratch.*
 ALL     ALL=(ALL) NOPASSWD: /bin/umount -l -f */scratch.*
+ALL     ALL=(ALL) NOPASSWD: /bin/umount -l /run/icecc/
 ALL     ALL=(ALL) NOPASSWD: /bin/mkdir -p */scratch.*
+ALL     ALL=(ALL) NOPASSWD: /bin/mkdir -p /run/icecc/
 ALL     ALL=(ALL) NOPASSWD: /usr/bin/build
 ALL     ALL=(ALL) NOPASSWD: /bin/cp *.conf */scratch.*/*.conf
 ALL     ALL=(ALL) NOPASSWD: /bin/rm -f */.build.log