mirror of
https://git.yoctoproject.org/poky
synced 2026-02-26 19:39:40 +01:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user