Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] kernel-devsrc: Don't package kernel meta-data
@ 2016-07-26 16:56 Jacob Kroon
  2016-08-03  9:33 ` Jacob Kroon
  0 siblings, 1 reply; 5+ messages in thread
From: Jacob Kroon @ 2016-07-26 16:56 UTC (permalink / raw)
  To: openembedded-core

 * The kernel meta-data doesn't need to be distributed in the kernel source
   package, so drop it
 * Fix a typo
 * Split long lines

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
---
 meta/recipes-kernel/linux/kernel-devsrc.bb | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 0fdd0ad..2dcf01e 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -41,13 +41,17 @@ do_install() {
 
         #
         # Copy the staging dir source (and module build support) into the devsrc structure.
-        # We can keep this copy simple and take everything, since a we'll clean up any build
+        # We can keep this copy simple and take everything, since we'll clean up any build
         # artifacts afterwards, and the extra i/o is not significant
         #
         cd ${B}
-        find . -type d -name '.git*' -prune -o -path '.debug' -prune -o -type f -print0 | cpio --null -pdlu $kerneldir
+        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
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-05  1:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-26 16:56 [PATCH] kernel-devsrc: Don't package kernel meta-data Jacob Kroon
2016-08-03  9:33 ` Jacob Kroon
2016-08-04  1:41   ` Bruce Ashfield
2016-08-04  7:48     ` Jacob Kroon
2016-08-05  1:19       ` Bruce Ashfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox