mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-11 04:49:58 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
c092f7b105
commit
2f5eb8f1b8
@@ -102,11 +102,11 @@ do_configure() {
|
|||||||
|
|
||||||
PACKAGES =+ "${PN}-perl ${PN}-python"
|
PACKAGES =+ "${PN}-perl ${PN}-python"
|
||||||
|
|
||||||
FILES_${PN}-doc += "${datadir}/examples"
|
FILES_${PN}-doc += "${datadir}/rrdtool/examples"
|
||||||
|
|
||||||
DESCRIPTION_${PN}-perl = \
|
DESCRIPTION_${PN}-perl = \
|
||||||
"The ${PN}-perl package includes RRDtool bindings for perl."
|
"The ${PN}-perl package includes RRDtool bindings for perl."
|
||||||
FILES_${PN}-perl = "${libdir}/perl/vendor_perl/*/*.pm ${datadir}/rrdtool/examples \
|
FILES_${PN}-perl = "${libdir}/perl/vendor_perl/*/*.pm \
|
||||||
${libdir}/perl/vendor_perl/*/auto/RRDs/RRDs.*"
|
${libdir}/perl/vendor_perl/*/auto/RRDs/RRDs.*"
|
||||||
RDEPENDS_${PN}-perl = "perl perl-module-lib perl-module-getopt-long perl-module-time-hires \
|
RDEPENDS_${PN}-perl = "perl perl-module-lib perl-module-getopt-long perl-module-time-hires \
|
||||||
perl-module-io-file perl-module-ipc-open2 perl-module-io-socket"
|
perl-module-io-file perl-module-ipc-open2 perl-module-io-socket"
|
||||||
|
|||||||
Reference in New Issue
Block a user