On Tue, 2020-05-12 at 16:05 +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <[email protected]>
> 
> Make each IMAGE_CMD task an sstate task with its own IMGDEPLOYDIR
> override. This way each generated set of artifacts is deployed as soon
> as it's ready instead of the do_image_complete task handling the entire
> deployement. This allows us to better fine-tune dependencies e.g. we
> can make do_image_wic depend on fitImage task which can in turn depend
> on do_image_ext4.
> 
> We need delete the IMGDEPLOYDIR variable from the data object passed
> to each image task so that it gets expanded with the correct override.
> 
> In order to make sure that tasks added to SSTATETASKS in anonymous python
> functions are correctly setup, move the code that assigns pre- and
> postfuncs to an event handler invoked on bb.event.RecipeTaskPreProcess
> in sstate.bbclass. This event is fired right after the anonymous
> functions.
> 
> Signed-off-by: Bartosz Golaszewski <[email protected]>
> ---
> Changes since v2:
> - dropped the qemuboot patch (already upstream)
> - switched to % string formatting instead of using .format() for consistency

Thanks, I included this in automated testing and its shown a few
issues:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/943

"oe-selftest -r
sstatetests.SStateTests.test_sstate_nativelsbstring_same_hash " should
reproduce

I think multiconfig.MultiConfig.test_multiconfig and
multiconfig.MultiConfig.test_multiconfig are also related but its
harder to be sure.

package.PackageTests.test_gdb_hardlink_debug isn't related in there.
runqemu.RunqemuTests.test_boot_deploy_hddimg and
runqemu.RunqemuTests.test_boot_machine_iso could be, not sure.

Cheers,

Richard



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#138313): 
https://lists.openembedded.org/g/openembedded-core/message/138313
Mute This Topic: https://lists.openembedded.org/mt/74158924/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to