]> code.ossystems Code Review - openembedded-core.git/commit
kern-tools: report missing config fragments by name
authorBruce Ashfield <bruce.ashfield@windriver.com>
Wed, 21 Nov 2012 21:32:26 +0000 (16:32 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Nov 2012 07:52:11 +0000 (07:52 +0000)
commit46cc0d0a2f1486bf541c1a1b11075de3da396cc2
treecf82727d90da0e9263027d4c4e3c541203714684
parent421a2e2523a8f2c461479a1c0d44908cc1eaca6b
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