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 <[email protected]> --- meta/classes/devtool-source.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#248502): https://lists.openembedded.org/g/openembedded-core/message/248502 Mute This Topic: https://lists.openembedded.org/mt/121897961/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
