Merge branch 'master' of codeberg.org:distrust/toolchain

This commit is contained in:
Lance Vick 2023-05-02 14:58:10 -07:00
commit ddf6568244
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
2 changed files with 4 additions and 2 deletions

View File

@ -219,7 +219,7 @@ TOOLCHAIN_WORKDIR := /home/build
define toolchain
docker run \
--rm \
--tty \
--tty \
$(2) \
--env UID=$(UID) \
--env GID=$(GID) \

View File

@ -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 "$@"