Bug 12487 - kernel-yocto: configuration fragment with defconfig in name is garbled.
Summary: kernel-yocto: configuration fragment with defconfig in name is garbled.
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: kernel (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.5 M3
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-01-16 14:48 UTC by Andrej Rode
Modified: 2018-02-28 01:56 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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