diff options
author | Qi.Chen@windriver.com <Qi.Chen@windriver.com> | 2015-10-21 15:47:38 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-10-23 12:56:36 +0200 |
commit | 2f5eb8f1b87a1ac3765cabc73e520ea643087ab4 (patch) | |
tree | 5b55653bcf89ba63d4a05f05407bc81fb393a05d | |
parent | c092f7b1055c71f3e89e3c43a8ee0275de6e2c17 (diff) | |
download | meta-openembedded-2f5eb8f1b87a1ac3765cabc73e520ea643087ab4.tar.gz |
rrdtool: fix file locations
When we build rrdtool, we would meet the following QA issue.
QA Issue: /usr/share/rrdtool/examples/stripes.py_rrdtool-perl contained
in package rrdtool-perl requires /usr/bin/python, but no providers found
in its RDEPENDS [file-rdeps]
The problem is that /usr/share/rrdtool/examples not only contain perl examples,
but also contains python examples.
Besides, ${datadir}/examples don't exist, fix it to be ${datadir}/rrdtool/examples.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 4 |
1 files 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 d4f9834d0..14e196656 100644 --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | |||
@@ -102,11 +102,11 @@ do_configure() { | |||
102 | 102 | ||
103 | PACKAGES =+ "${PN}-perl ${PN}-python" | 103 | PACKAGES =+ "${PN}-perl ${PN}-python" |
104 | 104 | ||
105 | FILES_${PN}-doc += "${datadir}/examples" | 105 | FILES_${PN}-doc += "${datadir}/rrdtool/examples" |
106 | 106 | ||
107 | DESCRIPTION_${PN}-perl = \ | 107 | DESCRIPTION_${PN}-perl = \ |
108 | "The ${PN}-perl package includes RRDtool bindings for perl." | 108 | "The ${PN}-perl package includes RRDtool bindings for perl." |
109 | FILES_${PN}-perl = "${libdir}/perl/vendor_perl/*/*.pm ${datadir}/rrdtool/examples \ | 109 | FILES_${PN}-perl = "${libdir}/perl/vendor_perl/*/*.pm \ |
110 | ${libdir}/perl/vendor_perl/*/auto/RRDs/RRDs.*" | 110 | ${libdir}/perl/vendor_perl/*/auto/RRDs/RRDs.*" |
111 | RDEPENDS_${PN}-perl = "perl perl-module-lib perl-module-getopt-long perl-module-time-hires \ | 111 | RDEPENDS_${PN}-perl = "perl perl-module-lib perl-module-getopt-long perl-module-time-hires \ |
112 | perl-module-io-file perl-module-ipc-open2 perl-module-io-socket" | 112 | perl-module-io-file perl-module-ipc-open2 perl-module-io-socket" |