kernelsrc.bbclass: Ensure fetch/unpack/patch tasks don't run

In particular this removes a race condition where a ${S}/patches
directory could be created by do_unpack. This confuses kern-tools.

(From OE-Core rev: a64d36e3bec47fedc788c33b23736914cfbd62bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2014-12-19 13:18:51 +00:00
parent bc97e8555d
commit 22246c6aac
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
S = "${STAGING_KERNEL_DIR}"
do_fetch[noexec] = "1"
do_unpack[depends] += "virtual/kernel:do_patch"
do_unpack[noexec] = "1"
do_patch[noexec] = "1"
do_package[depends] += "virtual/kernel:do_populate_sysroot"
KERNEL_VERSION = "${@get_kernelversion_file("${S}")}"