Patchwork [2/2] kern-tools: report missing config fragments by name

login
register
mail settings
Submitter Bruce Ashfield
Date Nov. 22, 2012, 5:48 p.m.
Message ID <8bc50966172c15ad89a691ca22f4d4ed3958d24c.1353606229.git.bruce.ashfield@windriver.com>
Download mbox | patch
Permalink /patch/39501/
State New
Headers show

Comments

Bruce Ashfield - Nov. 22, 2012, 5:48 p.m.
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>
---
 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
index f2cd39f..635dfe6 100644
--- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
+++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
@@ -4,7 +4,7 @@  LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=d8d1d729a70c
 
 DEPENDS = "git-native guilt-native"
 
-SRCREV = "6f68c9473b43c3e39755a72aef8733cbd0bf1a59"
+SRCREV = "62c8807825ea923a18b1519375b0df67ad9daf2b"
 PR = "r12"
 PV = "0.1+git${SRCPV}"