[yocto] [meta-selinux][PATCH] README: Document setting PREFERRED_VERSION for refpolicy

Khem Raj raj.khem at gmail.com
Wed Aug 15 18:22:40 PDT 2018


When setting preferred version for a given refpolicy
we also need to set the PV for refpolicy recipe since
its part of the selinux packagegroup and will silently
use git version

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 README | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/README b/README
index 35e03f4..806d9c3 100644
--- a/README
+++ b/README
@@ -71,7 +71,8 @@ SRCREV for refpolicy and refpolicy-contrib as appropriate at refpolicy_git.inc
 to check refpolicy as per required commits.
 
 * enable the preferred refpolicy-minimum:
-e.g. PREFERRED_VERSION_refpolicy-minimum = "2.20151208"
+PREFERRED_VERSION_refpolicy-minimum = "2.20151208"
+PREFERRED_VERSION_refpolicy = "2.20151208"
 
 
 Using different init manager
-- 
2.18.0



More information about the yocto mailing list