]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Set MKOSI_UID and MKOSI_GID when running scripts 1919/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 25 Sep 2023 08:40:46 +0000 (10:40 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 25 Sep 2023 09:00:36 +0000 (11:00 +0200)
commita992d4ab1414d8a20c8b83bf8accf21ccb97bc92
tree4f3f2af7d17ef369cec4c11b6a6110cb5575afc7
parent5b2c87ee3210877a8a06f0a0bdeef3c3f94fb5bd
Set MKOSI_UID and MKOSI_GID when running scripts

These point to the UID/GID of the user running mkosi and can be used
to run commands as that user in scripts by using setpriv.
mkosi/__init__.py
mkosi/resources/mkosi.md
mkosi/state.py