Bug 10917 - BBMULTICONFIG: print error when entry has no corresponding config file
Summary: BBMULTICONFIG: print error when entry has no corresponding config file
Status: VERIFIED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.3 M2
Assignee: Juro Bystricky
QA Contact: Jose Perez C
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-01-12 10:34 UTC by Patrick Ohly
Modified: 2017-03-14 21:22 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
patch to detect a missing configuration file (902 bytes, patch)
2017-01-12 21:46 UTC, Juro Bystricky
no flags Details | Diff

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