Merge branch 'master' of codeberg.org:distrust/toolchain
This commit is contained in:
commit
ddf6568244
2
Makefile
2
Makefile
|
@ -219,7 +219,7 @@ TOOLCHAIN_WORKDIR := /home/build
|
|||
define toolchain
|
||||
docker run \
|
||||
--rm \
|
||||
--tty \
|
||||
--tty \
|
||||
$(2) \
|
||||
--env UID=$(UID) \
|
||||
--env GID=$(GID) \
|
||||
|
|
|
@ -17,8 +17,10 @@ export HOME="/home/${user}"
|
|||
-u "$uid" \
|
||||
-d "/home/${user}" \
|
||||
-s /bin/bash \
|
||||
"${user}"
|
||||
"${user}"
|
||||
setpriv --reuid="$uid" --regid="$gid" --init-groups "$@"
|
||||
}
|
||||
|
||||
exec "$@"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue