[meta-selinux][PATCH 2/3] layer.conf: set default refpolicy provider


Yi Zhao
 

Currently there is no default refpolicy provider and the user must
specify it in local.conf. Set the default refpolicy provider to
refpolicy-targeted in case the user doesn't set it.

Signed-off-by: Yi Zhao <yi.zhao@...>
---
conf/layer.conf | 2 ++
1 file changed, 2 insertions(+)

diff --git a/conf/layer.conf b/conf/layer.conf
index aeed565..673cc13 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -29,3 +29,5 @@ LAYERDEPENDS_selinux = " \
core \
meta-python \
"
+
+PREFERRED_PROVIDER_virtual/refpolicy ??= "refpolicy-targeted"
--
2.25.1

Join yocto@lists.yoctoproject.org to automatically receive all group messages.