diff options
author | Shrikant Bobade <shrikant_bobade@mentor.com> | 2016-05-25 12:41:54 +0530 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-05-27 13:30:49 -0400 |
commit | 9620f5121a07e1b5c2b8dd9601746e9def46e201 (patch) | |
tree | 843c27a63b70c1dcd236399e76934de76fefe5d9 | |
parent | 78249555b478f6dfa2a2f9215fb4ad152daadfec (diff) | |
download | meta-selinux-9620f5121a07e1b5c2b8dd9601746e9def46e201.tar.gz |
refpolicy-minimum_2.20151208: add systemd dependent policy modules
with systemd enabled refpolicy-minimum build breaks due to missing dependent
policy modules, so add the dependent modules: clock, systemd, udev
conditionally based on DISTRO_FEATURES.
dependent systemd policy modules needed to fix these errors:
* Failed to resolve 'adjtime_t' in typeattributeset statement at line 138 of
.. modules/100/init/cil
* Failed to resolve 'systemd_kmod_conf_t' in typeattributeset statement at
line 141 of.. moules/100/init/cil
* Failed to resolve 'udev_t' in typeattributeset statement at line 143 of
modules/100/init/cil semodule: Failed!
Signed-off-by: Shrikant Bobade <shrikant_bobade@mentor.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | recipes-security/refpolicy/refpolicy-minimum_2.20151208.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy-minimum_2.20151208.bb b/recipes-security/refpolicy/refpolicy-minimum_2.20151208.bb index 47ed558..04ceadd 100644 --- a/recipes-security/refpolicy/refpolicy-minimum_2.20151208.bb +++ b/recipes-security/refpolicy/refpolicy-minimum_2.20151208.bb | |||
@@ -17,6 +17,8 @@ CORE_POLICY_MODULES = "unconfined \ | |||
17 | application libraries miscfiles logging userdomain \ | 17 | application libraries miscfiles logging userdomain \ |
18 | init mount modutils getty authlogin locallogin \ | 18 | init mount modutils getty authlogin locallogin \ |
19 | " | 19 | " |
20 | #systemd dependent policy modules | ||
21 | CORE_POLICY_MODULES += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'clock systemd udev', '', d)}" | ||
20 | 22 | ||
21 | # nscd caches libc-issued requests to the name service. | 23 | # nscd caches libc-issued requests to the name service. |
22 | # Without nscd.pp, commands want to use these caches will be blocked. | 24 | # Without nscd.pp, commands want to use these caches will be blocked. |