summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-17 04:54:18 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-17 04:54:18 +0200
commit1ceb73e5d7f35d115a8fab4c6ac5735986993a38 (patch)
treeff53704436518abb54baac3cdad4da35a838fe1e /bin
parent69fa768c6232eb6c681445e1ad986afe8bc22695 (diff)
downloadjenkins.debian.net-1ceb73e5d7f35d115a8fab4c6ac5735986993a38.tar.xz
reproducible arch: order is important
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_arch_schroot_setup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_arch_schroot_setup.sh b/bin/reproducible_arch_schroot_setup.sh
index 71287f05..1395d2a4 100755
--- a/bin/reproducible_arch_schroot_setup.sh
+++ b/bin/reproducible_arch_schroot_setup.sh
@@ -41,8 +41,6 @@ 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() {
@@ -67,6 +65,8 @@ $ROOTCMD pacman-key --populate archlinux
echo 'Server = http://mirror.one.com/archlinux/$repo/os/$arch' | tee -a $SCHROOT_BASE/$TARGET/etc/pacman.d/mirrorlist
$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
$ROOTCMD abs core extra
# configure root user