mkosi icon indicating copy to clipboard operation
mkosi copied to clipboard

Add $MKOSI_USER, $MKOSI_GROUP and $MKOSI_HOME

Open 4nd3r opened this issue 1 year ago • 0 comments

In specific situations, I need to access the login name, primary group name, and the user's home directory ($HOME) within the postinst script. Right now, I have to pass these values through the command line and list them in mkosi.conf. However, having these values readily accessible by default would make things simpler for me and could be beneficial for others as well.

If someone more familiar with the code base thinks it's good idea, I'm willing to try and submit PR myself.

4nd3r avatar Sep 26 '23 21:09 4nd3r