package/refpolicy: allow packages to select SELinux modules
authorAntoine Tenart <antoine.tenart@bootlin.com>
Fri, 31 Jul 2020 10:10:30 +0000 (12:10 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 4 Sep 2020 08:52:20 +0000 (10:52 +0200)
commit0228f521d637ec374546196e77db38361312f466
tree9a89d91f1f701b0fbf208e022bd29535072cd21d
parent11a7a0af2a3f8b3e4c8c903522f501a90c09ba8d
package/refpolicy: allow packages to select SELinux modules

Add support for packages to enable SELinux modules already supported by
the refpolicy, but not selected by default in its policy.

With this commit, packages will be able to do something like:

SYSTEMD_SELINUX_MODULES = systemd udev

to enable additional SELinux modules.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/pkg-generic.mk
package/refpolicy/refpolicy.mk