From 3225884ed32afb297f11a3b22dc57a7f52e38209 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Wed, 8 Nov 2017 05:18:10 +0000 Subject: 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. --- abuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" \ -- cgit v1.2.3-60-g2f50