-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the sys-apps/polkit build manifest #111
base: master
Are you sure you want to change the base?
Conversation
sys-apps/polkit/polkit.py
Outdated
|
||
def patch_polkit(): | ||
# There should be a dedicated user and group to take control of the polkitd daemon after it's started | ||
stdlib.cmd("groupadd -fg 27 polkitd && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That will install the daemon on the host system (the one building the package), not the user's system.
You can install it on the user's system with an instruction file, which executes command after the package is installed. See this package
for an example. The file instructions.sh
contains commands to execute at different point of the installation. You want to fill the after_install
function.
Remember to load the instruction file with packages['xxx/yyy'].load_instructions('./instructions.sh')
at the end of the manifest and to put the both files in another subdirectory.
…drain for symlinks
All files belong to one of the packages