Patchwork [2/4] kern-tools: anchor and delimit regexs

mail settings
Submitter Bruce Ashfield
Date May 6, 2013, 4:24 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/49365/
State Accepted
Commit 57ae1e412a35d827f84bf9b1f48747bf703f84b7
Headers show


Bruce Ashfield - May 6, 2013, 4:24 p.m.
Updating the kern-tools SRCREV with the following fix:

    Updateme is responsible for updating an existing meta-series with new patches,
    configs and tree manipulations. To do this, it first checks for an existing
    board description and generates one if required. It then searches for features
    and fragments to be applied for the tree.

    There were two problems:

     - A top level board description is detected via the presence of "define"
       directives that indicate the board name, the arch and kernel type. The
       test for define would match on patches or fragments with 'define' in their
       name, and would incorrectly use that file as the top level board description.

       This is fixed by ensuring that only defines at the start of a line, or preceded
       by whitepace match.

     - When searching for features that were indicated as 'addon' or 'optional', the
       search would find, and apply, any feature with the passed name as substring
       versus an exact match.

       This is fixed by ensuring that the matched feature name is /<feature name>
       versus <feature name>

Signed-off-by: Bruce Ashfield <>
 meta/recipes-kernel/kern-tools/ |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/meta/recipes-kernel/kern-tools/ b/meta/recipes-kernel/kern-tools/
index be58847..6620c4b 100644
--- a/meta/recipes-kernel/kern-tools/
+++ b/meta/recipes-kernel/kern-tools/
@@ -4,7 +4,7 @@  LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=d8d1d729a70c
 DEPENDS = "git-native guilt-native"
-SRCREV = "71ffb08c20022610363e68f9243350b7da020825"
+SRCREV = "9713c9ef7f6e178a0a2a5f2a9c74e3c123ae48dd"
 PR = "r12"
 PV = "0.1+git${SRCPV}"