Hello Mathieu,

Thank you for your feedback. Yes, I'd be happy to investigate the issue.
In fact, I tested the patch only with core-image-minimal, i.e. only with
in-tree kernel modules.
However, it appears that the patch also needs to be adapted to support
out-of-tree modules.
I will work on that. I already have an idea of how to do it, and I will
keep you updated.

BR,
Anis

On Sat, Aug 22, 2026 at 6:12 PM Mathieu Dubois-Briand <
[email protected]> wrote:

> 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
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#244044): 
https://lists.openembedded.org/g/openembedded-core/message/244044
Mute This Topic: https://lists.openembedded.org/mt/120870702/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to