public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] kernel-devsrc: Improve vdso-offsets handling
Date: Fri, 16 Feb 2024 13:12:26 +0000	[thread overview]
Message-ID: <20240216131226.124806-1-richard.purdie@linuxfoundation.org> (raw)

Fix:

kernel-devsrc-1.0-r0 do_package_qa: QA Issue: File /lib/modules/6.6.15-yocto-standard/build/include/generated/.compat_vdso-offsets.h.cmd in package kernel-devsrc contains reference to TMPDIR [buildpaths]

by adding to the list of files we do this with. Also drop the
conditional since rm -f handles this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-kernel/linux/kernel-devsrc.bb | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 55cac1fc817..fafab475f3f 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -130,13 +130,10 @@ do_install() {
         # breaks workflows.
         cp -a --parents include/generated/autoconf.h $kerneldir/build 2>/dev/null || :
 
-        if [ -e $kerneldir/include/generated/.vdso-offsets.h.cmd ] ||
-             [ -e $kerneldir/build/include/generated/.vdso-offsets.h.cmd ] ||
-             [ -e $kerneldir/build/include/generated/.vdso32-offsets.h.cmd ] ; then
-            rm -f $kerneldir/include/generated/.vdso-offsets.h.cmd
-            rm -f $kerneldir/build/include/generated/.vdso-offsets.h.cmd
-            rm -f $kerneldir/build/include/generated/.vdso32-offsets.h.cmd
-        fi
+        rm -f $kerneldir/include/generated/.vdso-offsets.h.cmd
+        rm -f $kerneldir/build/include/generated/.vdso-offsets.h.cmd
+        rm -f $kerneldir/build/include/generated/.compat_vdso-offsets.h.cmd
+        rm -f $kerneldir/build/include/generated/.vdso32-offsets.h.cmd
     )
 
     # now grab the chunks from the source tree that we need
-- 
2.40.1



             reply	other threads:[~2024-02-16 13:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-16 13:12 Richard Purdie [this message]
2024-02-16 13:49 ` [OE-core] [PATCH] kernel-devsrc: Improve vdso-offsets handling Bruce Ashfield
2024-02-16 15:15   ` Richard Purdie

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=20240216131226.124806-1-richard.purdie@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --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