All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: erick.shepherd@ni.com, openembedded-core@lists.openembedded.org
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Subject: Re: [OE-core] [PATCH] kernel-devsrc.bb: Remove extra System.map file
Date: Tue, 13 May 2025 07:53:56 +0100	[thread overview]
Message-ID: <576ffe3b4036f3ab1759cf86af99ef1ef0e2fcee.camel@linuxfoundation.org> (raw)
In-Reply-To: <20250512190451.1363972-1-erick.shepherd@ni.com>

On Mon, 2025-05-12 at 14:04 -0500, Erick Shepherd via
lists.openembedded.org wrote:
> Currently there are two .map files being copied to $kerneldir/build.
> One of the files is System.map and the other is
> System.map-<kernel version>. Each .map file takes up about 5MB and
> have identical sha256sum hashes. This change will make it so only
> System.map is copied in order to save disk space.
> 
> Signed-off-by: Erick Shepherd <erick.shepherd@ni.com>
> ---
>  meta/recipes-kernel/linux/kernel-devsrc.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb
> b/meta/recipes-kernel/linux/kernel-devsrc.bb
> index 1500aff2e2..9729a25440 100644
> --- a/meta/recipes-kernel/linux/kernel-devsrc.bb
> +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
> @@ -75,7 +75,7 @@ do_install() {
>          if [ -s Module.symvers ]; then
>              cp Module.symvers $kerneldir/build
>          fi
> -        cp System.map* $kerneldir/build
> +        cp System.map $kerneldir/build
>          if [ -s Module.markers ]; then
>              cp Module.markers $kerneldir/build
>          fi
> 

This caused tons of failures in our automated testing, e.g.:

https://autobuilder.yoctoproject.org/valkyrie/#/builders/78/builds/1630
https://autobuilder.yoctoproject.org/valkyrie/#/builders/2/builds/1606
https://autobuilder.yoctoproject.org/valkyrie/#/builders/60/builds/1601
https://autobuilder.yoctoproject.org/valkyrie/#/builders/19/builds/1599

but many more in that build too.

Cheers,

Richard


      parent reply	other threads:[~2025-05-13  6:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-12 19:04 [PATCH] kernel-devsrc.bb: Remove extra System.map file Erick Shepherd
2025-05-12 19:42 ` [OE-core] " Khem Raj
2025-05-13  6:53 ` Richard Purdie [this message]

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=576ffe3b4036f3ab1759cf86af99ef1ef0e2fcee.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=bruce.ashfield@gmail.com \
    --cc=erick.shepherd@ni.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.