Skip to contentSkip to conversation

mraa: To file do_package error in multilib.

PATCH New Lei Maohui 1 participant 1 message Oct 29, 2018

lore
Share & tools
lore

Lei Maohui

author
#0 lore raw

PATCH 1/1 mraa: To file do_package error in multilib.

do_package: QA Issue: mraa: Files/directories were installed but not shipped in any package:
/usr/lib/python3.5/site-packages/mraa.py
/usr/lib/python3.5/site-packages/_mraa.so
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

---
 meta-oe/recipes-extended/mraa/mraa_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/mraa/mraa_git.bb +3 -1
index 930c041..737c134 100644
@@ -20,7 +20,9 @@ inherit cmake distutils3-base
 
 DEPENDS += "json-c"
 
-EXTRA_OECMAKE_append = " -DINSTALLTOOLS:BOOL=ON -DFIRMATA=ON -DCMAKE_SKIP_RPATH=ON"
+EXTRA_OECMAKE_append = " -DINSTALLTOOLS:BOOL=ON -DFIRMATA=ON -DCMAKE_SKIP_RPATH=ON \
+                         -DPYTHON3_PACKAGES_PATH:PATH=${baselib}/python${PYTHON_BASEVERSION}/site-packages \
+                       "
 
 # Prepend mraa-utils to make sure bindir ends up in there
 PACKAGES =+ "${PN}-utils"
Signature · 1 line
2.7.4