Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <anis.bougrine10@gmail.com>, <openembedded-core@lists.openembedded.org>
Cc: <antonin.godard@bootlin.com>, <bruce.ashfield@gmail.com>,
	<jose.quaresma@oss.qualcomm.com>,
	<richard.purdie@linuxfoundation.org>
Subject: Re: [OE-core][PATCH v4 0/4] Make signed kernel modules stripped
Date: Sat, 22 Aug 2026 18:12:27 +0200	[thread overview]
Message-ID: <DKVLSEW6L0T7.2PCFL9327XYCG@bootlin.com> (raw)
In-Reply-To: <20260822002601.90667-1-anis.bougrine10@gmail.com>

On Sat Aug 22, 2026 at 2:25 AM CEST, Anis Bougrine via lists.openembedded.org wrote:
> - Re-sign modules after the package stripping process.
> - Remove the package-stripping skip for signed modules from package.py.
> - Add MOD_INSTALL_PREFIX variable
>
> Note that this v4 patch drops v3 patch and its relative which have been merged to master-next:
> 3e34657 kernel.bbclass: add strip process for signed kernel modules
> ffc6d51 package: extract debug sources from signed kernel modules
>
> Anis Bougrine (4):
>   kernel.bbclass: re-sign kernel modules after package stripping process
>   package.py: remove stripping and splitting skip for signed kernel
>     modules
>   kernel: centralize kernel module installation path in one variable
>   documentation.conf: add documentation for MOD_INSTALL_PREFIX variable
>
>  .../kernel-module-split.bbclass               | 23 ++++++++++++++++
>  meta/classes-recipe/kernel.bbclass            | 13 +++++-----
>  meta/conf/documentation.conf                  |  1 +
>  meta/lib/oe/package.py                        | 26 +++----------------
>  4 files changed, 34 insertions(+), 29 deletions(-)

Hi Anis,

Thanks for your patch.

I suspect this is related with this failure:

ERROR: lttng-modules-2.15.3-r0 do_package: Execution of '/srv/pokybuild/yocto-worker/genericx86/build/build/tmp/work/genericx86-poky-linux/lttng-modules/2.15.3/temp/run.post_strip_kernel_modules_signing.1005048' failed with exit code 127
...
| DEBUG: runstrip: ['i686-poky-linux-strip', '--strip-debug', '--remove-section=.comment', '--remove-section=.note', '/srv/pokybuild/yocto-worker/genericx86/build/build/tmp/work/genericx86-poky-linux/lttng-modules/2.15.3/package/lib/modules/6.18.43-yocto-standard/kernel/lttng-modules/tests/lttng-test.ko']
| DEBUG: runstrip: ['i686-poky-linux-strip', '--strip-debug', '--remove-section=.comment', '--remove-section=.note', '/srv/pokybuild/yocto-worker/genericx86/build/build/tmp/work/genericx86-poky-linux/lttng-modules/2.15.3/package/lib/modules/6.18.43-yocto-standard/kernel/lttng-modules/tests/lttng-clock-plugin-test.ko']
| DEBUG: runstrip: ['i686-poky-linux-strip', '--strip-debug', '--remove-section=.comment', '--remove-section=.note', '/srv/pokybuild/yocto-worker/genericx86/build/build/tmp/work/genericx86-poky-linux/lttng-modules/2.15.3/package/lib/modules/6.18.43-yocto-standard/kernel/lttng-modules/probes/lttng-probe-x86-irq-vectors.ko']
...

https://autobuilder.yoctoproject.org/valkyrie/#/builders/19/builds/4453
https://autobuilder.yoctoproject.org/valkyrie/#/builders/9/builds/4424
https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/4481

Can you have a look at the issue?

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  parent reply	other threads:[~2026-08-22 16:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-22  0:25 [OE-core][PATCH v4 0/4] Make signed kernel modules stripped Anis Bougrine
2026-08-22  0:25 ` [OE-core][PATCH v4 1/4] kernel.bbclass: re-sign kernel modules after package stripping process Anis Bougrine
2026-08-22  0:25 ` [OE-core][PATCH v4 2/4] package.py: remove stripping and splitting skip for signed kernel modules Anis Bougrine
2026-08-22  0:26 ` [OE-core][PATCH v4 3/4] kernel: centralize kernel module installation path in one variable Anis Bougrine
2026-08-24 18:57   ` Richard Purdie
2026-08-22  0:26 ` [OE-core][PATCH v4 4/4] documentation.conf: add documentation for MOD_INSTALL_PREFIX variable Anis Bougrine
2026-08-22 16:12 ` Mathieu Dubois-Briand [this message]
2026-08-24  0:03   ` [OE-core][PATCH v4 0/4] Make signed kernel modules stripped Bougrine Anis
2026-08-25 18:33 ` Peter Kjellerstedt

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=DKVLSEW6L0T7.2PCFL9327XYCG@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=anis.bougrine10@gmail.com \
    --cc=antonin.godard@bootlin.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=jose.quaresma@oss.qualcomm.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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