]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto: fix race between checkout and meta data generation
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 8 May 2015 03:36:14 +0000 (23:36 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Jun 2015 08:41:53 +0000 (09:41 +0100)
commit561b7776d93d40cac009360ec95b8de78888f1ca
tree9a439dbec8996da972386f1cd630ffd2cbcd1eae
parent7cfbeeec098e19bd27e342cd09a3fa22de6e7e93
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]

(From OE-Core rev: 9d806f3d05de918952f839f5e595cb71cd1261db)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass