Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Jacob Kroon <jacob.kroon@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] kernel-devsrc: Don't package kernel meta-data
Date: Wed, 3 Aug 2016 11:33:15 +0200	[thread overview]
Message-ID: <1e6c0615-e39a-e2c3-23dd-992a03e06901@gmail.com> (raw)
In-Reply-To: <1469552171-8500-1-git-send-email-jacob.kroon@gmail.com>

On 07/26/2016 06:56 PM, Jacob Kroon wrote:
>  * 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
>

Ignore this patch, I'm suspecting that .kernel-meta/ directory shouldn't 
exist in ${STAGING_KERNEL_DIR} to begin with ?
/Jacob


  reply	other threads:[~2016-08-03  9:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-26 16:56 [PATCH] kernel-devsrc: Don't package kernel meta-data Jacob Kroon
2016-08-03  9:33 ` Jacob Kroon [this message]
2016-08-04  1:41   ` Bruce Ashfield
2016-08-04  7:48     ` Jacob Kroon
2016-08-05  1:19       ` Bruce Ashfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1e6c0615-e39a-e2c3-23dd-992a03e06901@gmail.com \
    --to=jacob.kroon@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox