]> code.ossystems Code Review - openembedded-core.git/commit
kern-tools: fix overly greedy path relocations
authorBruce Ashfield <bruce.ashfield@windriver.com>
Wed, 1 Oct 2014 04:43:31 +0000 (00:43 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Oct 2014 08:04:36 +0000 (09:04 +0100)
commit660c90458e8b4114e4a8deb920e44263e03a1ec6
tree6a996fb83a490e94a1ab2a557f306bbf1a70403d
parentae8319fb460b5d588044f6b00bf73255773f4ff0
kern-tools: fix overly greedy path relocations

During patch processing a consolidated set of configs, patches and directives
is created under the kernel source tree being modified. During that processing,
absolutely paths are converted to relative. It has been found that if directories
are sufficiently similar, like so:

  /path/to/my-linux
  /path/to/my-linux-3.16

The processing will chop to much of some paths, resulting in invalid relative
directories (like -3.16 in the above example).

Importing the following two kern tools fixes for the issue:

  23345b8846fe kgit: retain trailing / in directory processing
  a8cf93a3bc94 kgit-s2q: move subject and diffstat mismatch to 'fuzzy' matching

[YOCTO: #6753]

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