From a64d36e3bec47fedc788c33b23736914cfbd62bb Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 19 Dec 2014 13:18:51 +0000 Subject: 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 --- meta/classes/kernelsrc.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/classes') 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}")}" -- cgit v1.2.3