]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
recipetool: allow recipe create handlers to specify bitbake tasks to run
authorRoss Burton <ross.burton@arm.com>
Fri, 27 Jun 2025 13:48:44 +0000 (14:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Jul 2025 07:47:23 +0000 (08:47 +0100)
commit629184de671cf7b86fe95fcce788dffcc3a4da8a
treeb109aab369d75350494cb8135a06a57d743c8b0b
parentea26eb8e4a00a63700a95c2c848272b170154294
recipetool: allow recipe create handlers to specify bitbake tasks to run

When creating a recipe there can be cases where there is a class that
does some of the recipe creation (such as cargo-update-recipe-crates).

To avoid duplication of code, look for run_task assignments in the
extravalues dictionary returned by the handler, and if it is set then
call that task after writing the recipe.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create.py