]> code.ossystems Code Review - openembedded-core.git/commit
kern-tools: report missing config fragments by name
authorBruce Ashfield <bruce.ashfield@windriver.com>
Thu, 22 Nov 2012 17:48:29 +0000 (12:48 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Nov 2012 15:12:06 +0000 (15:12 +0000)
commit8e5dc511ffce4f4b512457dbc5d3dd510f6e4a95
tree9cd5784f00e1d3771e52fa2419df08eb4de4f13b
parentb042d1cce535fe88dd6f5b5c0cd1a608a27afbd6
kern-tools: report missing config fragments by name

If a configuration fragment was missing, the previous error output
was not clear about the error:

  | [INFO] doing kernel configme
  | [INFO] Configuring target/machine combo: "standard/atom-pc"
  | [INFO] collecting configs in ./meta/meta-series
  | ERROR: could not sanitize configuration fragments
  |    errors are logged in ... linux/meta/cfg/standard/atom-pc/config.log

but we know the name of the missing fragment and can improve the error
message to be this:

  | [ERROR] kernel configuration fragment fragment 'virto.cfg' cannot be found
  | ERROR. A meta series could not be created for branch yocto/standard/common-pc/atom-pc
  | ERROR. Could not locate meta series for atom-pc
  | ERROR. Could not apply patches for atom-pc.
  |        Patch failures can be resolved in the devshell (bitbake -c devshell linux-yocto)

[YOCTO #3473]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb