mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-31 07:38:42 +00:00
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:
parent
4b24af9e9f
commit
3225884ed3
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user