Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
abuild
Commits
84d7b769
Commit
84d7b769
authored
Jan 03, 2022
by
donoban
Committed by
Kaarle Ritvanen
Apr 05, 2022
Browse files
rootbld: run mkusers inside the chroot and don't affect host users
parent
681ef9df
Changes
1
Hide whitespace changes
Inline
Side-by-side
abuild.in
100644 → 100755
View file @
84d7b769
...
...
@@ -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"
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment