Bug 5709

Summary: Add possibility to control event handlers order
Product: [Build System, Metadata & Runtime] BitBake Reporter: Stoicescu Cornel <corneliux.stoicescu>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Medium CC: bluelightning, jessica.zhang, kergoth, poky.bs.watcher, poky.watcher, randy.macleod
Version: 3.0   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on:    
Bug Blocks: 3887    

Description Stoicescu Cornel 2014-01-09 14:08:26 UTC
At the moment, we can only control on what event an event handler is triggered. Some event handlers need to be triggered in a certain order and this can be accomplished similar to how extra tasks are ordered:

Example from recipes-devtools/gcc/libgcc.inc:

addtask multilib_install after do_install before do_package do_populate_sysroot
Comment 1 Randy MacLeod 2022-03-10 16:11:52 UTC
Meta data is now deterministic but still a good idea.