aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-09-29 17:52:10 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-30 17:14:10 +0100
commitac1b2fd1b1a76125a8cf45130c22fb66eb018555 (patch)
tree9d93fc45852844d1e75fb40eae9ef2dea5c6fa2e
parentd1341aeda6d9fa5d7f13afabadae60a6fc295b87 (diff)
downloadopenembedded-core-contrib-ac1b2fd1b1a76125a8cf45130c22fb66eb018555.tar.gz
openembedded-core-contrib-ac1b2fd1b1a76125a8cf45130c22fb66eb018555.tar.bz2
openembedded-core-contrib-ac1b2fd1b1a76125a8cf45130c22fb66eb018555.zip
linux-yocto.inc: Run kernel_version_sanity_check with final source
Ensure that the kernel_version_sanity_check task runs after all source modifications are complete, including any that are introduced during the kernel_metadata task. This also avoids any race condition issues when kernel_version_sanity_check and kernel_metadata tasks are running at the same time. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-kernel/linux/linux-yocto.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc
index a5595abe8d..d8d4387a4c 100644
--- a/meta/recipes-kernel/linux/linux-yocto.inc
+++ b/meta/recipes-kernel/linux/linux-yocto.inc
@@ -64,7 +64,7 @@ do_install_append(){
}
# extra tasks
-addtask kernel_version_sanity_check after do_kernel_checkout before do_compile
+addtask kernel_version_sanity_check after do_kernel_metadata do_kernel_checkout before do_compile
addtask kernel_link_images after do_compile before do_install
addtask validate_branches before do_patch after do_kernel_checkout
addtask kernel_configcheck after do_configure before do_compile