summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-19 13:18:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-21 12:37:55 +0000
commit22246c6aac9995274c2e11296b70bc041adcba62 (patch)
tree9475cf6966ed76dfc9d5315fdcf944944ede889e /meta/classes
parentbc97e8555dd01fd5f9c59f5990e3e3c80035ca9a (diff)
downloadpoky-22246c6aac9995274c2e11296b70bc041adcba62.tar.gz
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>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernelsrc.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.bbclass
index 11f04e9612..4208eff6fc 100644
--- a/meta/classes/kernelsrc.bbclass
+++ b/meta/classes/kernelsrc.bbclass
@@ -1,5 +1,8 @@
1S = "${STAGING_KERNEL_DIR}" 1S = "${STAGING_KERNEL_DIR}"
2do_fetch[noexec] = "1"
2do_unpack[depends] += "virtual/kernel:do_patch" 3do_unpack[depends] += "virtual/kernel:do_patch"
4do_unpack[noexec] = "1"
5do_patch[noexec] = "1"
3do_package[depends] += "virtual/kernel:do_populate_sysroot" 6do_package[depends] += "virtual/kernel:do_populate_sysroot"
4KERNEL_VERSION = "${@get_kernelversion_file("${S}")}" 7KERNEL_VERSION = "${@get_kernelversion_file("${S}")}"
5 8