mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-25 00:12:19 +00:00
rootbld: run mkusers inside the chroot and don't affect host users
This commit is contained in:
parent
681ef9dfcf
commit
84d7b7693d
4
abuild.in
Normal file → Executable file
4
abuild.in
Normal file → Executable file
@ -2362,7 +2362,7 @@ rootbld_actions() {
|
||||
if ! want_check; then
|
||||
_check=true
|
||||
fi
|
||||
for part in symlinksrc unpack prepare build $_check rootpkg; do
|
||||
for part in symlinksrc unpack prepare mkusers build $_check rootpkg; do
|
||||
runpart $part
|
||||
done
|
||||
}
|
||||
@ -2395,8 +2395,6 @@ rootbld() {
|
||||
|
||||
msg "Preparing build chroot..."
|
||||
|
||||
mkusers
|
||||
|
||||
BUILD_ROOT=$(mktemp -d /var/tmp/abuild.XXXXXXXXXX)
|
||||
|
||||
mkdir -p "$BUILD_ROOT/proc" "$BUILD_ROOT/etc/apk/keys" \
|
||||
|
Loading…
Reference in New Issue
Block a user