[bitbake-devel] [PATCH 4/4] runqueue: Rewrite and optimize recrdepends handling

Paul Barker pbarker at toganlabs.com
Sun Feb 25 22:17:50 UTC 2018


On Sun, Feb 25, 2018 at 10:11 PM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On Sun, 2018-02-25 at 19:25 +0000, Paul Barker wrote:
>> I've been having build failures recently which I've tracked down to
>> this commit in bitbake via git bisect.
>>
>> I have an image recipe, oryx-image, and a publish recipe,
>> oryx-publish. In oryx-publish I have a do_publish task that copies
>> files out of "tmp/deploy/images/*" to their final places and so it
>> needs to run after the tasks in oryx-image that create the relevant
>> files. So I've explicitly added oryx-image:do_build to
>> do_publish[depends].
>
> Is do_publish added before do_build?
> Does oryx-publish inherit any of the image/meta classes?
>
> I suspect I need to better understand the problem as you've described
> what you think the problem is but not what problem you're seeing...
>

The recipe is here:
https://gitlab.com/oryx/meta-oryx/blob/master/recipes-core/publish/oryx-publish.bb.
ORYX_SYSTEM_PROFILE_PUBLISH_DEPENDS expands to "oryx-image:do_build".

The problem I'm seeing is that the files don't exist in
"tmp/deploy/images/*" when do_publish runs. Investigation via "bitbake
-g" shows that the dependency on "oryx-image:do_build" has been
dropped from do_publish:


-- 
Paul Barker
Togán Labs Ltd



More information about the bitbake-devel mailing list