Re: [yocto] Invalidating tasks

2017-11-29 Thread Anton Gerasimov
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_

Re: [yocto] Invalidating tasks

2017-11-29 Thread Alexander Kanavin
On 11/29/2017 11:29 AM, Anton Gerasimov wrote: I've got two tasks, `do_A` and `do_B` (they are really IMAGE_CMDs if it's important). Now I want to introduce a third task, `do_check_A_and_B`, that will test that `do_A` and `do_B` have produced a correct result. If the test fails, I want to invalid

[yocto] Invalidating tasks

2017-11-29 Thread Anton Gerasimov
Hi all, I've got two tasks, `do_A` and `do_B` (they are really IMAGE_CMDs if it's important). Now I want to introduce a third task, `do_check_A_and_B`, that will test that `do_A` and `do_B` have produced a correct result. If the test fails, I want to invalidate results of A and B, so that they re-