aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleimaohui <leimaohui@cn.fujitsu.com>2018-08-16 08:21:16 +0800
committerArmin Kuster <akuster808@gmail.com>2019-02-04 21:16:19 -0800
commitd854899528bf6aca1f05dc352ce2fff93169f0b0 (patch)
treec0159a66bb1a5f473839940a8bfa781743e51068
parent0fffb955a7df9e1cfb5b9818551ea1e05e3fc5e6 (diff)
downloadmeta-openembedded-contrib-d854899528bf6aca1f05dc352ce2fff93169f0b0.tar.gz
meta-openembedded-contrib-d854899528bf6aca1f05dc352ce2fff93169f0b0.tar.bz2
meta-openembedded-contrib-d854899528bf6aca1f05dc352ce2fff93169f0b0.zip
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. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-extended/mraa/mraa_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb
index 930c041233..737c13427a 100644
--- a/meta-oe/recipes-extended/mraa/mraa_git.bb
+++ b/meta-oe/recipes-extended/mraa/mraa_git.bb
@@ -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"