distro: Inherit SELinux distro
PATCH 1/2 distro: Inherit SELinux distro
meta-selinux defines a distro with refpolicy providers. Inherit that instead of trying to define our own refpolicies.
Signed-off-by Adrian Dudau <[email protected]>
--- meta-cgl-common/conf/distro/poky-cgl.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-cgl-common/conf/distro/poky-cgl.conf +1 -2
@@ -1,7 +1,6 @@ require conf/distro/poky-lsb.conf +require conf/distro/poky-selinux.conf DISTRO = "poky-cgl" -DISTRO_FEATURES_append = " pam selinux" - IMAGE_CLASSES += "image_types_uboot"
Signature · 1 line
1.9.1
PATCH 2/2 selinux: Use targeted refpolicy
POLICY_NAME and DEFAULT_ENFORCING are set in each refpolicy recipe in meta-selinux now.
Signed-off-by Adrian Dudau <[email protected]>
--- meta-cgl-common/conf/distro/poky-cgl.conf | 2 ++ 1 file changed, 2 insertions(+)
meta-cgl-common/conf/distro/poky-cgl.conf +2 -0
@@ -4,3 +4,5 @@ require conf/distro/poky-selinux.conf DISTRO = "poky-cgl" IMAGE_CLASSES += "image_types_uboot" + +PREFERRED_PROVIDER_virtual/refpolicy="refpolicy-targeted"
Signature · 1 line
1.9.1
ok from my side
On Tuesday, May 10, 2016 3:04 PM, Adrian Dudau <[email protected]> wrote:
meta-selinux defines a distro with refpolicy providers. Inherit that
instead of trying to define our own refpolicies.
Signed-off-by Adrian Dudau <[email protected]>
--- meta-cgl-common/conf/distro/poky-cgl.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-cgl-common/conf/distro/poky-cgl.conf +1 -2
@@ -1,7 +1,6 @@ require conf/distro/poky-lsb.conf +require conf/distro/poky-selinux.conf DISTRO = "poky-cgl" -DISTRO_FEATURES_append = " pam selinux" - IMAGE_CLASSES += "image_types_uboot"
Signature · 7 lines
1.9.1 -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto