tidy up of READMEs associated with plugins

This commit is contained in:
Trevor Batley 2024-09-29 12:17:05 +10:00
parent 7f3a98da18
commit 0817613a55
2 changed files with 4 additions and 11 deletions

View File

@ -30,19 +30,10 @@ Make sure that the koji-sign selinux policy is installed and enabled
If it's not listed If it's not listed
- copy down the koji-sign.te file, compile and install it - copy down the koji-sign.te file, compile and install it
checkmodule -V -M -m -o koji-sign.mod koji-sign.te checkmodule -M -m -o koji-sign.mod koji-sign.te
semodule_package -o koji-sign.pp -m koji-sign.mod semodule_package -o koji-sign.pp -m koji-sign.mod
semodule -i koji-sign.pp semodule -i koji-sign.pp
Ensure that httpd can use tty
getsebool daemons_use_tty
daemons_use_tty --> on
If not --> on, set it
setsebool -P daemons_use_tty 1
Copy your gpg keys etc. into /etc/koji-hub/plugins/gnupg/ Copy your gpg keys etc. into /etc/koji-hub/plugins/gnupg/
Copy sign.conf into /etc/koji-hub/plugins/ Copy sign.conf into /etc/koji-hub/plugins/
@ -59,6 +50,8 @@ Set the extra options on the tag so the plugin will generate the repository:
koji edit-tag -x tag2distrepo.enabled=True -x tag2distrepo.keys='44922a28' smecontribs11 koji edit-tag -x tag2distrepo.enabled=True -x tag2distrepo.keys='44922a28' smecontribs11
Where ONLY those rpms signed with that key will be included in the generated external repository
You can check by doing: You can check by doing:
koji taginfo smecontribs11 koji taginfo smecontribs11

View File

@ -4,6 +4,6 @@ selinux policy to allow signing of rpms via the koji-hub sign plugin
To install, or if you have changed the policy To install, or if you have changed the policy
checkmodule -V -M -m -o koji-sign.mod koji-sign.te checkmodule -M -m -o koji-sign.mod koji-sign.te
semodule_package -o koji-sign.pp -m koji-sign.mod semodule_package -o koji-sign.pp -m koji-sign.mod
semodule -i koji-sign.pp semodule -i koji-sign.pp