Following parsing error will occure while "selinux" not configured
in DISTRO_FEATURES:
ERROR: ParseError in /workspace/zhanglin/CGEL/CGEL6X.new2/CGEL/cge-
l6x_yocto/sources/meta-selinux/recipes-devtools/python/: not a Bit-
Bake file
to fix this, including a empty file: python_default.inc in python_-
%bbappend will work.

Signed-off-by: zhanglin <zhang.li...@zte.com.cn>
---
 recipes-devtools/python/python_%.bbappend  | 2 +-
 recipes-devtools/python/python_default.inc | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 create mode 100644 recipes-devtools/python/python_default.inc

diff --git a/recipes-devtools/python/python_%.bbappend 
b/recipes-devtools/python/python_%.bbappend
index 7719d3b..4e69c49 100644
--- a/recipes-devtools/python/python_%.bbappend
+++ b/recipes-devtools/python/python_%.bbappend
@@ -1 +1 @@
-require ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 
'${BPN}_selinux.inc', '', d)}
+require ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 
'${BPN}_selinux.inc', '${BPN}_default.inc', d)}
diff --git a/recipes-devtools/python/python_default.inc 
b/recipes-devtools/python/python_default.inc
new file mode 100644
index 0000000..e69de29
-- 
2.15.2

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to