[oe-commits] [openembedded-core] 16/25: kernel-yocto: remove do_shared_workdir from SRCTREECOVEREDTASKS

git at git.openembedded.org git at git.openembedded.org
Wed Sep 14 21:23:33 UTC 2016


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

commit 29e99d7a57803e450920600b5d35c5b4e58a0ede
Author: André Draszik <git at andred.net>
AuthorDate: Tue Sep 13 10:07:10 2016 +0100

    kernel-yocto: remove do_shared_workdir from SRCTREECOVEREDTASKS
    
    Various recipes depend on the kernel's do_shared_workdir
    task, a quick grep suggests all external kernel modules
    (via module.bbclass), but also perf, and potentially any
    additional headers as outlined in linux-libc-headers.inc
    are affected.
    
    Having do_shared_workdir in SRCTREECOVEREDTASKS means this
    task is removed when externalsrc is enabled, making all
    those recipes fail as the task they depend on,
    virtual/kernel:do_shared_workdir, doesn't exist.
    
    Remove do_shared_workdir from SRCTREECOVEREDTASKS so that
    all those recipes work even if externalsrc is activated.
    
    According to the comment in here, the reason for
    do_shared_workdir to be removed as a task is because it
    modifies the source tree, but that doesn't seem to be
    case.
    
    Signed-off-by: Andre Draszik <git at andred.net>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/kernel-yocto.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 82b9210..53659f2 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -1,5 +1,5 @@
 # remove tasks that modify the source tree in case externalsrc is inherited
-SRCTREECOVEREDTASKS += "do_kernel_configme do_validate_branches do_kernel_configcheck do_kernel_checkout do_shared_workdir do_fetch do_unpack do_patch"
+SRCTREECOVEREDTASKS += "do_kernel_configme do_validate_branches do_kernel_configcheck do_kernel_checkout do_fetch do_unpack do_patch"
 
 # returns local (absolute) path names for all valid patches in the
 # src_uri

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


More information about the Openembedded-commits mailing list