summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2018-09-29 17:27:50 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-01 13:04:44 +0100
commit5a26b03c9f73822554ea969e42bca82217dfd3f8 (patch)
tree9e84993cf64fbd312a721247a9b2f2db54a1e5de
parent24b8c61bf7dd13f7f371d3a910947a1fac062c6b (diff)
downloadopenembedded-core-contrib-5a26b03c9f73822554ea969e42bca82217dfd3f8.tar.gz
openembedded-core-contrib-5a26b03c9f73822554ea969e42bca82217dfd3f8.tar.bz2
openembedded-core-contrib-5a26b03c9f73822554ea969e42bca82217dfd3f8.zip
mime.bbclass: fix do_package_qa_multilib error of lib32-fltk
fltk.bb inherit mime.bbclass, mime.bbclass add RDEPEND during populate_package, so need add mlprefix manually. ERROR: QA Issue: lib32-fltk package lib32-fltk-dev - suspicious values 'shared-mime-info-data-dev' in RRECOMMENDS [multilib] ERROR: QA Issue: lib32-fltk package lib32-fltk-bin - suspicious values 'shared-mime-info-data' in RDEPENDS [multilib] Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/mime.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/mime.bbclass b/meta/classes/mime.bbclass
index 0df15831c4..6c7b868f79 100644
--- a/meta/classes/mime.bbclass
+++ b/meta/classes/mime.bbclass
@@ -53,5 +53,5 @@ python populate_packages_append () {
postrm += d.getVar('mime_postrm')
d.setVar('pkg_postrm_%s' % pkg, postrm)
bb.note("adding shared-mime-info-data dependency to %s" % pkg)
- d.appendVar('RDEPENDS_' + pkg, " shared-mime-info-data")
+ d.appendVar('RDEPENDS_' + pkg, " " + d.getVar('MLPREFIX')+"shared-mime-info-data")
}