summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/kernel-devsrc.bb
diff options
context:
space:
mode:
authorsweeaun <swee.aun.khor@intel.com>2017-07-25 17:25:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-27 22:20:14 +0100
commit3bcf227dc68f215b2d4d7b58aeea71d237ac719e (patch)
tree480e7f3b8509d164488fe4d9751d8790aa51b359 /meta/recipes-kernel/linux/kernel-devsrc.bb
parentb3175533438801a4244bc2eb102fd72613f74289 (diff)
downloadopenembedded-core-contrib-3bcf227dc68f215b2d4d7b58aeea71d237ac719e.tar.gz
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@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux/kernel-devsrc.bb')
-rw-r--r--meta/recipes-kernel/linux/kernel-devsrc.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 7004261ce5..c1b5b7786d 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