summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_setup_archlinux_schroot.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-01-09 18:09:00 +0100
committerHolger Levsen <holger@layer-acht.org>2016-01-09 18:09:00 +0100
commit14883b3e9627e7b8917babb3dca86695d8b377f9 (patch)
treefe913431bd31f01784fa3acd27ba4b6ed9ca06ff /bin/reproducible_setup_archlinux_schroot.sh
parent42f7400e4306b7301eccc8bd149a9e1c3a2c286b (diff)
downloadjenkins.debian.net-14883b3e9627e7b8917babb3dca86695d8b377f9.tar.xz
reproducible archlinux: more fixes for simpler approach
Diffstat (limited to 'bin/reproducible_setup_archlinux_schroot.sh')
-rwxr-xr-xbin/reproducible_setup_archlinux_schroot.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/bin/reproducible_setup_archlinux_schroot.sh b/bin/reproducible_setup_archlinux_schroot.sh
index 54207f0d..4610de4a 100755
--- a/bin/reproducible_setup_archlinux_schroot.sh
+++ b/bin/reproducible_setup_archlinux_schroot.sh
@@ -32,7 +32,7 @@ bootstrap() {
echo "$(date -u) - downloading Arch Linux bootstrap.tar.gz."
curl -O $BOOTSTRAP_BASE/$BOOTSTRAP_TAR_GZ
tar xzf archlinux-bootstrap-$BOOTSTRAP_DATE-x86_64.tar.gz -C $SCHROOT_BASE
- mv $SCHROOT_BASE/root.x86 $SCHROOT_BASE/$TARGET
+ mv $SCHROOT_BASE/root.x86_64 $SCHROOT_BASE/$TARGET
rm archlinux-bootstrap-$BOOTSTRAP_DATE-x86_64.tar.gz -rf
# write the schroot config
echo "$(date -u ) - writing schroot configuration for $TARGET."
@@ -45,11 +45,8 @@ bootstrap() {
source-root-users=jenkins
union-type=aufs
__END__
- # finally, create missing dirs
- mkdir $SCHROOT_BASE/$TARGET/proc $SCHROOT_BASE/$TARGET/sys
- chmod 555 $SCHROOT_BASE/$TARGET/proc $SCHROOT_BASE/$TARGET/sys
# mktemp creates directories with 700 perms
- chmod 755 $SCHROOT_BASE/$TARGET
+ #chmod 755 $SCHROOT_BASE/$TARGET
}
cleanup() {