diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-17 04:49:00 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-17 04:49:00 +0200 |
commit | 69fa768c6232eb6c681445e1ad986afe8bc22695 (patch) | |
tree | 8c29e31bb6b843510aeafa0a6361eb8ad5fe0e2a /bin | |
parent | d9648acbb6b9535a547c5100cf007303d620d6da (diff) | |
download | jenkins.debian.net-69fa768c6232eb6c681445e1ad986afe8bc22695.tar.xz |
reproducible arch: allow to run pacman as root inside the schroot
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_arch_schroot_setup.sh | 2 |
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() { |