summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2022-09-19 10:28:30 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-28 08:02:10 +0100
commit7d49ec7abeb0a5d79603b7480141d890e9230ad3 (patch)
treea58bbda00415145e6e9ac52453d3f7d17160f0ba
parentd696edd8d12d6feb32f698bba7bfa16b8f43932e (diff)
downloadpoky-7d49ec7abeb0a5d79603b7480141d890e9230ad3.tar.gz
kern-tools: fix queue processing in relative TOPDIR configurations
As reported by Peter Hoyes, in some very specific configurations the processing done by the kern-tools results in errors. This is due to the bad creation of relative paths to patches and configuration. This is fixed by the following kern-tools commit (based on a similar suggestion by Peter): spp: ensure that relocations and patch paths are absolute If include directories (locations of layers) have relative components, and the path to a patch doesn't share that relative location, the detection of a common prefix can fail. When the common prefix is incorrectly specified, it can be the entire path to a patch. This results in everything being removed and subtle errors (as this shouldn't happen). By ensuring that both the relocation directories and patch path are absolute, we can avoid this issue. (From OE-Core rev: 8f76f9f04bf50d9c80ed23bd8297c5c9236b90bb) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b9681ad7c5c72aa1e68b3cdc93788a03b3781d63) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/kern-tools/kern-tools-native_git.bb2
1 files changed, 1 insertions, 1 deletions
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 11613ab3b6..e065c3e74f 100644
--- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
+++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "\
11 11
12DEPENDS = "git-native" 12DEPENDS = "git-native"
13 13
14SRCREV = "f70b1d52f4706a263ae22e2c61039ccd875e97b6" 14SRCREV = "9320c2a1aaa085e94abd15ede0d93ffdab578e9d"
15PV = "0.3+git${SRCPV}" 15PV = "0.3+git${SRCPV}"
16 16
17inherit native 17inherit native