summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
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:36:52 +0100
commit6e37751019421058130d6dde9330b9eaa12c2781 (patch)
treec5ad33dbde06fc3c291d84a5fdf5fc71142e3d37 /meta/recipes-kernel
parent3310f06db764b49ded4a5d10158f2781b0c11ca0 (diff)
downloadpoky-6e37751019421058130d6dde9330b9eaa12c2781.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. (From OE-Core rev: 3bcf227dc68f215b2d4d7b58aeea71d237ac719e) Signed-off-by: sweeaun <swee.aun.khor@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-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() {
46 cd ${B} 46 cd ${B}
47 find . -type d -name '.git*' -prune -o -path '.debug' -prune -o -type f -print0 | cpio --null -pdlu $kerneldir 47 find . -type d -name '.git*' -prune -o -path '.debug' -prune -o -type f -print0 | cpio --null -pdlu $kerneldir
48 cd ${S} 48 cd ${S}
49 find . -type d -name '.git*' -prune -o -type f -print0 | cpio --null -pdlu $kerneldir 49 find . -type d -name '.git*' -prune -o -type d -name '.kernel-meta' -prune -o -type f -print0 | cpio --null -pdlu $kerneldir
50 50
51 # Explicitly set KBUILD_OUTPUT to ensure that the image directory is cleaned and not 51 # Explicitly set KBUILD_OUTPUT to ensure that the image directory is cleaned and not
52 # The main build artifacts. We clean the directory to avoid QA errors on mismatched 52 # The main build artifacts. We clean the directory to avoid QA errors on mismatched