From 69fa768c6232eb6c681445e1ad986afe8bc22695 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 17 Oct 2015 04:49:00 +0200 Subject: reproducible arch: allow to run pacman as root inside the schroot --- bin/reproducible_arch_schroot_setup.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') 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() { -- cgit v1.2.3-70-g09d2