Commit 3225884e authored by Ariadne Conill's avatar Ariadne Conill 🐰
Browse files

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.
parent 4b24af9e
......@@ -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" \
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment