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.
This commit is contained in:
William Pitcock 2017-11-08 05:18:10 +00:00
parent 4b24af9e9f
commit 3225884ed3
1 changed files with 1 additions and 1 deletions

View File

@ -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" \