Bug 14044

Summary: STAGING_KERNEL_DIR symlink has been broken if externalsrc
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Chanho Park <parkch98>
Component: kernelAssignee: Bruce Ashfield <bruce.ashfield>
Status: IN PROGRESS DESIGN --- QA Contact:
Severity: critical    
Priority: Medium+ CC: randy.macleod, tom.zanussi
Version: 3.1.2   
Target Milestone: 6.1 M1   
Hardware: All   
OS: Multiple   
Whiteboard: Backport to 3.1.x
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Chanho Park 2020-09-11 18:35:34 UTC
Since "kernel.bbclass: run do_symlink_kernsrc before do_patch", kernel-source has not been generated if kernel package is set to externalsrc.

tmp/work-shared/**/kernel-source/tools/spi: No such file or directory.  Stop.

The patch changed the dependency from do_configure to do_patch but do_patch is not existing if externalsrc is configured.

The patch should be fixed for externalsrc awareness.

[1]: https://patches.openembedded.org/series/25771/#
Comment 1 Bruce Ashfield 2022-09-29 15:23:17 UTC
Ran out of time, moving to 4.2 and will consider backports
Comment 2 Randy MacLeod 2024-10-17 19:04:13 UTC
Bulk move of medium importance bugs from 5.1 to 5.2 on behalf of Bruce.