SELinux policy configuration
b719841045
make-rhat-patches.sh had everything hard coded and didn't update spec file so it was hard to use for local selinux-policy development. This patch doesn't change default behavior, but makes this script configurable using environmental variables and one option. Usage: If you want to change location of repositories set the following variables: REPO_SELINUX_POLICY selinux-policy repository REPO_SELINUX_POLICY_BRANCH selinux-policy repository branch REPO_SELINUX_POLICY_CONTRIB selinux-policy repository REPO_SELINUX_POLICY_CONTRIB_BRANCH selinux-policy-contrib repository branch REPO_CONTAINER_SELINUX container-selinux repository If you want to use locally created tarball (and don't download tarballs from github), use '-l' option. Example: export REPO_SELINUX_POLICY=~/devel/local/selinux-policy.git export REPO_SELINUX_POLICY_BRANCH=WIP-my-new-fix export REPO_SELINUX_POLICY_CONTRIB=~/devel/local/selinux-policy-contrib.git export REPO_SELINUX_POLICY_CONTRIB_BRANCH=WIP-some-contrib-fix export REPO_CONTAINER_SELINUX=~/devel/local/container-selinux.git ./make-rhat-patches.sh -l |
||
---|---|---|
.gitignore | ||
booleans-minimum.conf | ||
booleans-mls.conf | ||
booleans-targeted.conf | ||
booleans.subs_dist | ||
config.tgz | ||
COPYING | ||
customizable_types | ||
file_contexts.subs_dist | ||
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 | ||
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 |