[yocto] Invalidating tasks

Anton Gerasimov anton at advancedtelematic.com
Wed Nov 29 08:02:46 PST 2017


On 11/29/2017 11:10 AM, Alexander Kanavin wrote:
> That would be a gross hack that goes against bitbake philosophy -
> which is that once a task completes successfully, you never need to
> re-run it again, unless the task content (or its dependencies) changes.
>
> What are you doing in do_A and do_B, and why the outcome can vary
> without the tasks themselves changing? Are you fetching something from
> the network?

Yes, you're pretty close, the two tasks are pushing data to a server and
then I want to fetch the result back to check it's consistent. Talking
to a server as a part of building the image is already hacky enough, I
know. I'll see what can be done, I might just merge all the three tasks
into one.

Thanks,
Anton





More information about the yocto mailing list