SELinux policy configuration
8ab4e101e9
The %selinux_requires variable is used in packages with their own selinux policy modules (DSP adopters) as a dependency set to the selinux-policy package version which was installed at the time of building the DSP module. Using "%{version}-%{release}" in the variable can effect in such a state that updated package with selinux policy module is available, but selinux-policy is not, e. g. when the other package was released earlier in an ASYNC update. This commit cuts the release part out from the %selinux_requires variable, leaving only version there. |
||
---|---|---|
.fmf | ||
plans | ||
.gitignore | ||
booleans-minimum.conf | ||
booleans-mls.conf | ||
booleans-targeted.conf | ||
booleans.subs_dist | ||
COPYING | ||
customizable_types | ||
file_contexts.subs_dist | ||
gating.yaml | ||
make-rhat-patches.sh | ||
Makefile | ||
Makefile.devel | ||
modules-minimum.conf | ||
modules-mls-base.conf | ||
modules-mls-contrib.conf | ||
modules-targeted-base.conf | ||
modules-targeted-contrib.conf | ||
modules-targeted.conf | ||
permissivedomains.cil | ||
README | ||
rpm.macros | ||
securetty_types-minimum | ||
securetty_types-mls | ||
securetty_types-targeted | ||
selinux-factory-reset | ||
selinux-factory-reset@.service | ||
selinux-policy.conf | ||
selinux-policy.spec | ||
setrans-minimum.conf | ||
setrans-mls.conf | ||
setrans-targeted.conf | ||
seusers | ||
sources | ||
users-minimum | ||
users-mls | ||
users-targeted |
## Build process 1. clone [SELinux/selinux-policy](https://gitlab.cee.redhat.com/SELinux/selinux-policy) repository $ cd ~/devel/github $ git clone git@gitlab.cee.redhat.com:SELinux/selinux-policy.git $ cd selinux-policy 2. create, backport, cherry-pick needed changes to a particular branch and push them 3. clone **selinux-policy** dist-git repository $ cd ~/devel/dist-git $ rhpkg clone selinux-policy $ cd selinux-policy 4. Download the latest snaphots from selinux-policy and selinux-policy-contrib github repositories $ ./make-rhat-patches.sh 5. add changes to the dist-git repository, bump release, create a changelog entry, commit and push 6. build the package $ rhpkg build