summaryrefslogtreecommitdiff
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-20 14:02:10 +0000
commita64d36e3bec47fedc788c33b23736914cfbd62bb (patch)
treed6322682e0ed8b084c750f05d7c09e4ff9240107 /meta/classes
parentf08a67b451091fcdc84b6b8b1627a8c9589e0ef3 (diff)
downloadopenembedded-core-a64d36e3bec47fedc788c33b23736914cfbd62bb.tar.gz
openembedded-core-a64d36e3bec47fedc788c33b23736914cfbd62bb.tar.bz2
openembedded-core-a64d36e3bec47fedc788c33b23736914cfbd62bb.zip
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. 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 @@
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}")}"