| Message ID | 20261023102215.4043005-5-anusmita.duttamazumder@arm.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | devtool: Support multiconfig workflows and fix kernel extraction | expand |
diff --git a/meta/classes/devtool-source.bbclass b/meta/classes/devtool-source.bbclass index f29f40588f..24f8a3b616 100644 --- a/meta/classes/devtool-source.bbclass +++ b/meta/classes/devtool-source.bbclass @@ -52,7 +52,8 @@ python() { # Hook in pre/postfuncs is_kernel_yocto = bb.data.inherits_class('kernel-yocto', d) if is_kernel_yocto: - unpacktask = 'do_kernel_checkout' + # Record the devtool baseline after the kernel SRCREV is enforced. + unpacktask = 'do_validate_branches' d.appendVarFlag('do_configure', 'postfuncs', ' devtool_post_configure') else: unpacktask = 'do_unpack'
Devtool creates its kernel branch before the source is reset to the commit specified by the recipe. This can leave the workspace on the wrong kernel version and fail the build. Create the devtool branch after revision validation so it uses the commit specified by the recipe. Signed-off-by: Anusmita Dutta Mazumder <anusmita.duttamazumder@arm.com> --- meta/classes/devtool-source.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)