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 23:42:43 +0000 (00:42 +0100)
commit0136b5c5324439ba1a6e7caef8bdd36e4fef2652
treefeeff10bc5733f2f556f4dd6bbba44d3bda40648
parent60fba08fafa3a08e99a51486ac4afe071358fbf5
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]

(From OE-Core rev: 660c90458e8b4114e4a8deb920e44263e03a1ec6)

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