summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-17 05:00:04 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-17 05:00:04 +0200
commit8850a5c9d5ea21021f3c3a51e4fc1b4bc3c74c74 (patch)
treeb29aa9615aa5c92ce8f9cde56060a86af5cde28e
parent1ceb73e5d7f35d115a8fab4c6ac5735986993a38 (diff)
downloadjenkins.debian.net-8850a5c9d5ea21021f3c3a51e4fc1b4bc3c74c74.tar.xz
reproducible arch: be root
-rwxr-xr-xbin/reproducible_arch_schroot_setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_arch_schroot_setup.sh b/bin/reproducible_arch_schroot_setup.sh
index 1395d2a4..04a9fa23 100755
--- a/bin/reproducible_arch_schroot_setup.sh
+++ b/bin/reproducible_arch_schroot_setup.sh
@@ -66,7 +66,7 @@ echo 'Server = http://mirror.one.com/archlinux/$repo/os/$arch' | tee -a $SCHROOT
$ROOTCMD pacman -Syu --noconfirm
$ROOTCMD pacman -S --noconfirm base-devel devtools abs
# configure sudo
-echo 'jenkins ALL= NOPASSWD: /usr/sbin/pacman *' | tee -a $SCHROOT_BASE/$TARGET/etc/sudoers
+echo 'jenkins ALL= NOPASSWD: /usr/sbin/pacman *' | $ROOTCMD tee -a $SCHROOT_BASE/$TARGET/etc/sudoers
$ROOTCMD abs core extra
# configure root user