diff options
author | William Pitcock <nenolod@dereferenced.org> | 2017-11-08 05:18:10 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-11-08 05:18:10 +0000 |
commit | 3225884ed32afb297f11a3b22dc57a7f52e38209 (patch) | |
tree | 1fe74f4cf87d2c1f9c60a1fd9fdf9de6a69c1904 | |
parent | 4b24af9e9f3524550a4b8f5666c10315a45dfe05 (diff) | |
download | abuild-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.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" \ |