]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-yocto.inc: Run kernel_version_sanity_check with final source
authorNathan Rossi <nathan@nathanrossi.com>
Thu, 29 Sep 2016 07:52:10 +0000 (17:52 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Sep 2016 16:14:10 +0000 (17:14 +0100)
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>
meta/recipes-kernel/linux/linux-yocto.inc

index a5595abe8d29304080451d37fef3dc9347a2a86b..d8d4387a4c3bc1f762a45070dd40aa4311ae410e 100644 (file)
@@ -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