Bug 10917

Summary: BBMULTICONFIG: print error when entry has no corresponding config file
Product: [Build System, Metadata & Runtime] BitBake Reporter: Patrick Ohly <patrick.ohly>
Component: bitbakeAssignee: Juro Bystricky <juro.bystricky>
Status: VERIFIED FIXED QA Contact: Jose Perez C <jose.perez.carranza>
Severity: enhancement    
Priority: Medium+ CC: jose.perez.carranza, poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: 2.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
patch to detect a missing configuration file none

Description Patrick Ohly 2017-01-12 10:34:14 UTC
bitbake rev 518b9015c2be8d3 (not quite master).

BBMULTICONFIG = "foobar" in local.conf does not trigger an error when there is no conf/multiconfig/foobar.conf.

It would be better if it did, to catch typos.
Comment 1 Juro Bystricky 2017-01-12 21:46:00 UTC
Created attachment 3594 [details]
patch to detect a missing configuration file

Patch to issue an error message such as:

ERROR: BBMULTICONFIG="arm1 qemux86 bozo" but the configuration file './conf/multiconfig/bozo.conf' does not exist!
Comment 2 Juro Bystricky 2017-01-12 21:46:22 UTC
Testing code that issues an error message such as:

ERROR: BBMULTICONFIG="arm1 qemux86 bozo" but the configuration file './conf/multiconfig/bozo.conf' does not exist!
Comment 3 Juro Bystricky 2017-01-15 20:41:27 UTC
Sent another patch to the mailing list:
http://lists.openembedded.org/pipermail/openembedded-core/2017-January/131131.html
Comment 5 Jose Perez C 2017-03-14 21:22:06 UTC
Verified on commit: 6e20b31d5d17133e0fca086e12a0ad06ab5c4cc8 is working correctly