* [PATCH] kernel-devsrc: Improve vdso-offsets handling
@ 2024-02-16 13:12 Richard Purdie
2024-02-16 13:49 ` [OE-core] " Bruce Ashfield
0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2024-02-16 13:12 UTC (permalink / raw)
To: openembedded-core
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
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [OE-core] [PATCH] kernel-devsrc: Improve vdso-offsets handling
2024-02-16 13:12 [PATCH] kernel-devsrc: Improve vdso-offsets handling Richard Purdie
@ 2024-02-16 13:49 ` Bruce Ashfield
2024-02-16 15:15 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2024-02-16 13:49 UTC (permalink / raw)
To: Richard Purdie; +Cc: openembedded-core
On Fri, Feb 16, 2024 at 8:12 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> 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]
>
Did this just start happening ? I test this with all my kernel
releases and I've never seen it.
So it would be good to put in the commit log what caused it to start.
Bruce
> 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
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#195764): https://lists.openembedded.org/g/openembedded-core/message/195764
> Mute This Topic: https://lists.openembedded.org/mt/104391979/1050810
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [OE-core] [PATCH] kernel-devsrc: Improve vdso-offsets handling
2024-02-16 13:49 ` [OE-core] " Bruce Ashfield
@ 2024-02-16 15:15 ` Richard Purdie
0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2024-02-16 15:15 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: openembedded-core
On Fri, 2024-02-16 at 08:49 -0500, Bruce Ashfield wrote:
> On Fri, Feb 16, 2024 at 8:12 AM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> >
> > 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]
> >
>
> Did this just start happening ? I test this with all my kernel
> releases and I've never seen it.
>
> So it would be good to put in the commit log what caused it to start.
We tested qemuriscv64 on the autobuilder which exposes it. It has
probably been doing that there for a while.
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-16 15:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-16 13:12 [PATCH] kernel-devsrc: Improve vdso-offsets handling Richard Purdie
2024-02-16 13:49 ` [OE-core] " Bruce Ashfield
2024-02-16 15:15 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox