diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-19 13:18:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-21 12:37:55 +0000 |
commit | 22246c6aac9995274c2e11296b70bc041adcba62 (patch) | |
tree | 9475cf6966ed76dfc9d5315fdcf944944ede889e /meta/classes | |
parent | bc97e8555dd01fd5f9c59f5990e3e3c80035ca9a (diff) | |
download | poky-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.bbclass | 3 |
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 @@ | |||
1 | S = "${STAGING_KERNEL_DIR}" | 1 | S = "${STAGING_KERNEL_DIR}" |
2 | do_fetch[noexec] = "1" | ||
2 | do_unpack[depends] += "virtual/kernel:do_patch" | 3 | do_unpack[depends] += "virtual/kernel:do_patch" |
4 | do_unpack[noexec] = "1" | ||
5 | do_patch[noexec] = "1" | ||
3 | do_package[depends] += "virtual/kernel:do_populate_sysroot" | 6 | do_package[depends] += "virtual/kernel:do_populate_sysroot" |
4 | KERNEL_VERSION = "${@get_kernelversion_file("${S}")}" | 7 | KERNEL_VERSION = "${@get_kernelversion_file("${S}")}" |
5 | 8 | ||