[OE-core] [PATCH 1/1] stress-ng: Add bash to DEPENDS
Alexander Kanavin
alex.kanavin at gmail.com
Tue Aug 6 15:56:55 UTC 2019
On Tue, 6 Aug 2019 at 16:30, Alexander Kanavin <alex.kanavin at gmail.com>
wrote:
> On Tue, 6 Aug 2019 at 16:16, Richard Purdie <
> richard.purdie at linuxfoundation.org> wrote:
>
>> I partly agree with this. There is:
>>
>> insane.bbclass:do_package_qa[rdeptask] = "do_packagedata"
>>
>> which does help the situation by forcing package_qa after all the
>> runtime dependencies.
>>
>> I suspect the real problem is that it can also see RDEPENDS for things
>> it doesn't rdepend upon...
>>
>> You might want package_prepare_pkgdata() from package_pkgdata called
>> for package_qa's context on a separate directory, then to use that as
>> the pkgdata to resolve against?
>>
>> Note that package_prepare_pkgdata() called for do_package is different
>> than package_prepare_pkgdata() called for do_package_qa as the tasks
>> have different dependencies...
>>
>
> I am actually inclined to remove the recursive resolver in insane.bbclass.
> It gives a QA pass to a situation when there is a bash script in A, and the
> bash runtime dependency is satisfied indirectly through a chain of
> arbitrary length: A -> bash-completion -> bash. It becomes hard to reason
> where the dependencies come from; I think any runtime dependencies should
> be explicitly listed. We may need to fix up a few recipes, but the outcome
> is a better definition of runtime dependencies.
>
I made a patch for this:
http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=akanavin/package-version-updates&id=77bb080eb15de21901c15072898303f2b5275093
Now building oe-core world, to see what kind of fallout it causes.
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190806/cec94d0b/attachment.html>
More information about the Openembedded-core
mailing list