[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible arch: order is important

Holger Levsen holger at moszumanska.debian.org
Sat Oct 17 02:55:08 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 1ceb73e5d7f35d115a8fab4c6ac5735986993a38
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Oct 17 04:54:18 2015 +0200

    reproducible arch: order is important
---
 bin/reproducible_arch_schroot_setup.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_arch_schroot_setup.sh b/bin/reproducible_arch_schroot_setup.sh
index 71287f0..1395d2a 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list