]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: append to FILERPROVIDES_*/FILERDEPENDS_* variables instead of settin...
authorMartin Jansa <martin.jansa@gmail.com>
Thu, 26 Jul 2018 11:09:58 +0000 (11:09 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jul 2018 11:44:28 +0000 (12:44 +0100)
commit01b9810ff1cea53ae321f6fbe760b83573ed78c0
treeb6b466df37db61b251d31453ab3deaa08e9151bd
parentef4907f311e3ddedfa3eb8a111cc1d146c19851a
package.bbclass: append to FILERPROVIDES_*/FILERDEPENDS_* variables instead of setting them

* this allows to work around some of the issues with file-rdeps
* e.g. in my case I have /usr/lib/libmali.so.0.1 which according to rpmdeps
  provides only following libmali*
  libmali.so(LIBMALI_1.0)
  libmali.so.0.1
  but many users of this link with libmali.so directly and according to
  rpmdeps require libmali.so which causes file-rdeps for a lot of
  recipes
* I was using simple work around to just set:
  RPROVIDES_${PN} = "libmali.so libGLESv2.so libEGL.so"
  but that doesn't work well with multilib, because the value gets
  expanded with MLPREFIX and
  RPROVIDES_${PN} = "lib32-libmali.so lib32-libGLESv2.so lib32-libEGL.so"
  doesn't help at all.

[YOCTO #9217] Many unsolveable QA warnings from build-deps and file-rdeps

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass