diff options
author | Shrikant Bobade <shrikant_bobade@mentor.com> | 2016-05-26 15:52:05 +0530 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-05-27 13:30:49 -0400 |
commit | 78249555b478f6dfa2a2f9215fb4ad152daadfec (patch) | |
tree | 1fe268ef77eac1132319965b6f4aabab08e255ba | |
parent | eadc6e6da3601004a3f9f94c367adda51f4dbfc0 (diff) | |
download | meta-selinux-78249555b478f6dfa2a2f9215fb4ad152daadfec.tar.gz |
refpolicy-minimum_git: 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_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy-minimum_git.bb b/recipes-security/refpolicy/refpolicy-minimum_git.bb index 47ed558..04ceadd 100644 --- a/recipes-security/refpolicy/refpolicy-minimum_git.bb +++ b/recipes-security/refpolicy/refpolicy-minimum_git.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. |