[oe-commits] [openembedded-core] 01/11: kernelsrc.bbclass: Fix externalsrc support

git at git.openembedded.org git at git.openembedded.org
Wed Mar 11 01:13:54 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 2c17d35cc7b9c5e01fd5829858d2f0234e7ac8d6
Author: Paul Barker <pbarker at konsulko.com>
AuthorDate: Mon Mar 9 14:21:37 2020 +0000

    kernelsrc.bbclass: Fix externalsrc support
    
    When the externalsrc class is used the tasks listed in
    SRCTREECOVEREDTASKS are deleted to prevent them being executed. If
    externalsrc is used for the kernel then this will include
    virtual/kernel:do_patch.
    
    We can depend on do_shared_workdir instead as this will survive when
    externalsrc is used.
    
    Signed-off-by: Paul Barker <pbarker at konsulko.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/kernelsrc.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.bbclass
index 675d40e..a951ba3 100644
--- a/meta/classes/kernelsrc.bbclass
+++ b/meta/classes/kernelsrc.bbclass
@@ -1,7 +1,7 @@
 S = "${STAGING_KERNEL_DIR}"
 deltask do_fetch
 deltask do_unpack
-do_patch[depends] += "virtual/kernel:do_patch"
+do_patch[depends] += "virtual/kernel:do_shared_workdir"
 do_patch[noexec] = "1"
 do_package[depends] += "virtual/kernel:do_populate_sysroot"
 KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list