Bug 12487

Summary: kernel-yocto: configuration fragment with defconfig in name is garbled.
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Andrej Rode <mail>
Component: kernelAssignee: Bruce Ashfield <bruce.ashfield>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: mail, meta.mr.watcher, meta.watcher, tom.zanussi
Version: unspecified   
Target Milestone: 2.5 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Andrej Rode 2018-01-16 14:48:05 UTC
Commit 7e98c295c1bb511ece51b5f8c97f26c173ddaf76, which is cherry-picked rocko adds a change which removes a duplicate defconfig directive from the list of config fragments (sccs). If a configuration file is named "my-device-defconfig" it will be left as "my-device-", which breaks the build. 

Offending line:
+           sccs_from_src_uri=$(echo $sccs_from_src_uri | sed 's/defconfig//g')

Is this intentional and one should update the layer to not use "defconfig" in the configuration fragments names?
Comment 1 Bruce Ashfield 2018-01-22 20:29:03 UTC
I can tighten up the regex for this.
Comment 2 Bruce Ashfield 2018-02-28 01:56:14 UTC
oe-core rev: be29a95bee055a114a7c7f369ac5dbf316810590