[oe-commits] [openembedded-core] 06/24: kernel-devsrc: Remove .kernel-meta from package

git at git.openembedded.org git at git.openembedded.org
Thu Jul 27 21:37:36 UTC 2017


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

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

commit 3bcf227dc68f215b2d4d7b58aeea71d237ac719e
Author: sweeaun <swee.aun.khor at intel.com>
AuthorDate: Tue Jul 25 17:25:00 2017 -0700

    kernel-devsrc: Remove .kernel-meta from package
    
    [YOCTO #11730]
    
    Include .kernel-meta directory in the prune list of the find to
    prevent .kernel-meta directory included into installable package.
    
    Signed-off-by: sweeaun <swee.aun.khor at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-kernel/linux/kernel-devsrc.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 7004261..c1b5b77 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -46,7 +46,7 @@ do_install() {
         cd ${B}
         find . -type d -name '.git*' -prune -o -path '.debug' -prune -o -type f -print0 | cpio --null -pdlu $kerneldir
         cd ${S}
-        find . -type d -name '.git*' -prune -o -type f -print0 | cpio --null -pdlu $kerneldir
+	find . -type d -name '.git*' -prune -o -type d -name '.kernel-meta' -prune -o -type f -print0 | cpio --null -pdlu $kerneldir
 
         # Explicitly set KBUILD_OUTPUT to ensure that the image directory is cleaned and not
         # The main build artifacts. We clean the directory to avoid QA errors on mismatched

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


More information about the Openembedded-commits mailing list