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.

(From OE-Core rev: ac1b2fd1b1a76125a8cf45130c22fb66eb018555)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Nathan Rossi 2016-09-29 17:52:10 +10:00 committed by Richard Purdie
parent 0cbd843501
commit 2056bad636
1 changed files with 1 additions and 1 deletions

View 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