summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-11-08 05:18:10 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-11-08 05:18:10 +0000
commit3225884ed32afb297f11a3b22dc57a7f52e38209 (patch)
tree1fe74f4cf87d2c1f9c60a1fd9fdf9de6a69c1904
parent4b24af9e9f3524550a4b8f5666c10315a45dfe05 (diff)
downloadabuild-3225884ed32afb297f11a3b22dc57a7f52e38209.tar.gz
abuild-3225884ed32afb297f11a3b22dc57a7f52e38209.tar.bz2
abuild-3225884ed32afb297f11a3b22dc57a7f52e38209.tar.xz
abuild-3225884ed32afb297f11a3b22dc57a7f52e38209.zip
abuild: rootbld: fix order of bind-mounts given to bwrap
when building a package with abuildd, a copy of the git checkout is cloned to /tmp, which causes difficulties.
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 87aeb66..521d530 100644
--- a/abuild.in
+++ b/abuild.in
@@ -2152,9 +2152,9 @@ rootbld() {
--ro-bind "$HOME/.abuild" "$HOME/.abuild" \
--ro-bind "$aportsgit" "$aportsgit" \
--bind "$SRCDEST" "$SRCDEST" \
+ --bind "$BUILD_ROOT/tmp" /tmp \
--bind "$BUILD_ROOT/tmp/src" "$srcdir" \
--bind "$BUILD_ROOT/tmp/pkg" "$pkgbasedir" \
- --bind "$BUILD_ROOT/tmp" /tmp \
--bind "$REPODEST" "$REPODEST" \
--hostname "build-$buildhost-$CARCH" \
--chdir "$startdir" \