diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-17 04:54:18 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-17 04:54:18 +0200 |
commit | 1ceb73e5d7f35d115a8fab4c6ac5735986993a38 (patch) | |
tree | ff53704436518abb54baac3cdad4da35a838fe1e | |
parent | 69fa768c6232eb6c681445e1ad986afe8bc22695 (diff) | |
download | jenkins.debian.net-1ceb73e5d7f35d115a8fab4c6ac5735986993a38.tar.xz |
reproducible arch: order is important
-rwxr-xr-x | bin/reproducible_arch_schroot_setup.sh | 4 |
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 |