[oe] [meta-oe][PATCH V3 4/4] rrdtool: fix do_configure to suite the latest version

Chen Qi Qi.Chen at windriver.com
Wed Nov 4 07:36:18 UTC 2015


Fix the do_configure task to suite the latest version so that python
modules could be installed into the correct location.

This would fix the following QA issue.

ERROR: QA Issue: rrdtool: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/python2.7
  /usr/lib/python2.7/site-packages
  /usr/lib/python2.7/site-packages/rrdtool.so
  ....

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
 meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
index b8ad383..57d39f2 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb
@@ -82,8 +82,8 @@ do_configure() {
     #remove the dependency of perl-shared:Makefile
     #or perl-shared/Makefile will be regenerated
     #if any code touch bindings/Makefile after below perl bindings code
-    sed -i -e "s:\$(PYTHON) setup.py install:\$(PYTHON) setup.py install \
-        --install-lib=${D}${PYTHON_SITEPACKAGES_DIR}:" \
+    sed -i -e "s:python/setup.py install:python/setup.py install \
+        --install-lib=${PYTHON_SITEPACKAGES_DIR}:" \
         -e "s:perl-shared/Makefile.PL Makefile:perl-shared/Makefile.PL:" \
         ${B}/bindings/Makefile
 
-- 
1.9.1




More information about the Openembedded-devel mailing list