[oe] [meta-oe][PATCH] volume-key: not create python2 bindings

kai.kang at windriver.com kai.kang at windriver.com
Mon Dec 30 10:14:32 UTC 2019


From: Kai Kang <kai.kang at windriver.com>

If create python2 bindings for volume-key, it requires to inherit
pythonnative which conflict with python3native.bbclass. And python2
reachs EOL, so remove package config 'python' and not create python2
bindings for volume-key.

Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
 meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb b/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb
index 3103748e4..e036f714b 100644
--- a/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb
+++ b/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb
@@ -28,9 +28,10 @@ DEPENDS += " \
 "
 
 PACKAGECONFIG ??= "python3"
-PACKAGECONFIG[python] = "--with-python,--without-python,python,python"
 PACKAGECONFIG[python3] = "--with-python3,--without-python3,python3,python3"
 
+EXTRA_OECONF = "--without-python"
+
 RDEPENDS_python3-${BPN} += "${PN}"
 
 PACKAGES += "python3-${BPN}"
-- 
2.17.1



More information about the Openembedded-devel mailing list