summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_arch_schroot_setup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/reproducible_arch_schroot_setup.sh b/bin/reproducible_arch_schroot_setup.sh
index cd563f73..71287f05 100755
--- a/bin/reproducible_arch_schroot_setup.sh
+++ b/bin/reproducible_arch_schroot_setup.sh
@@ -41,6 +41,8 @@ bootstrap() {
chmod 555 $SCHROOT_BASE/$TARGET/proc $SCHROOT_BASE/$TARGET/sys
# mktemp creates directories with 700 perms
chmod 755 $SCHROOT_BASE/$TARGET
+ # configure sudo
+ echo 'jenkins ALL= NOPASSWD: /usr/sbin/pacman *' | tee -a $SCHROOT_BASE/$TARGET/etc/sudoers
}
cleanup() {