summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2015-05-07 23:36:14 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-09 22:25:47 +0100
commit9d806f3d05de918952f839f5e595cb71cd1261db (patch)
tree6a1572e2a00c2eedffc010de9e90d2d035d7440a
parentd2dd36bafdef7b0424041f5369706b9152ea13da (diff)
downloadopenembedded-core-contrib-9d806f3d05de918952f839f5e595cb71cd1261db.tar.gz
openembedded-core-contrib-9d806f3d05de918952f839f5e595cb71cd1261db.tar.bz2
openembedded-core-contrib-9d806f3d05de918952f839f5e595cb71cd1261db.zip
linux-yocto: fix race between checkout and meta data generation
There are two tasks that must run before a linux-yocto kernel is built. - Kernel checkout and relocation to work-shared (kernel_checkout) - Meta data gathering and configuration prep (kernel_metadata) The current task definitions for both are simply "before do_patch", which is correct, but kernel_checkout must run before and not race with kernel_metadata. So we set the definition of kernel_checkout to be more specific and enforce the proper ordering. [YOCTO: #7731] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/kernel-yocto.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 650ae5a473..0dd5b48513 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -259,7 +259,7 @@ do_kernel_checkout() {
}
do_kernel_checkout[dirs] = "${S}"
-addtask kernel_checkout before do_patch after do_unpack
+addtask kernel_checkout before do_kernel_metadata after do_unpack
addtask kernel_metadata after do_validate_branches before do_patch
do_kernel_metadata[depends] = "kern-tools-native:do_populate_sysroot"