[yocto] What is the correct way to get a list of package run-time dependencies during the build process?
Reshetova, Elena
elena.reshetova at intel.com
Fri Feb 5 02:45:27 PST 2016
On 5 February 2016 at 08:27, Reshetova, Elena < <mailto:elena.reshetova at intel.com> elena.reshetova at intel.com> wrote:
I noticed that during the build bitbake supplies you rather correct (if it is correct in the recipe) list of recipe build-time dependencies. However, this isn’t true for run-time dependencies. Moreover it seems that when you define a recipe you don’t have to list run-time dependencies, but rather than package manager would figure it out.
>After do_package has run the dependencies will be correct, but until that point the runtime library dependencies won't have been extracted.
Actually my task seems to run after do_package has already run, but I don’t have RDEPENDS filled with anything useful. How you supposed to query them from bitbake? I was trying these variants:
recipe.r_deps = d.getVar('RDEPENDS_' + <http://recipe.name> recipe.name, True)
or even simple:
recipe.r_deps = d.getVar('RDEPENDS’, True)
Best Regards,
Elena.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160205/0de55e43/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7586 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160205/0de55e43/attachment.bin>
More information about the yocto
mailing list