From 1ceb73e5d7f35d115a8fab4c6ac5735986993a38 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 17 Oct 2015 04:54:18 +0200 Subject: reproducible arch: order is important --- bin/reproducible_arch_schroot_setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3-54-g00ecf