From: Anis Bougrine <anis.bougrine10@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: mathieu.dubois-briand@bootlin.com,
richard.purdie@linuxfoundation.org, peter.kjellerstedt@axis.com,
Anis Bougrine <anis.bougrine10@gmail.com>
Subject: [OE-core][PATCH v5 0/5] Make signed kernel modules stripped
Date: Tue, 25 Aug 2026 22:49:25 +0200 [thread overview]
Message-ID: <20260825204931.17628-1-anis.bougrine10@gmail.com> (raw)
- Re-sign kernel modules after the package stripping process.
- Remove the package-stripping skip for signed kernel modules from package.py.
- Add KERNEL_MODULE_INSTALL_PREFIX variable
Note that tests have been made on core-minimal-image for in-tree modules
and on crypto-dev and lttng-modules for out-of-tree modules.
changes in V5:
- Adapt signing function for out-of-tree modules.
changes in v4:
- Re-sign kernel modules after package stripping process
- Remove package-stripping skip in package.py
- Add MOD_INSTALL_PREFIX variable
changes in v3:
- Fixing rebase issue.
changes in v2:
- Use the conditional INSTALL_MOD_STRIP environment variable to avoid
duplicating the oe_runmake call.
- Use `scripts/config` script instead of grepping .config file.# Please edit the description for the branch
Anis Bougrine (5):
kernel-module-split.bbclass: add get_ext_mod function for module
signing
kernel: 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 KERNEL_MODULE_INSTALL_PREFIX
variable
meta/classes-recipe/kernel-arch.bbclass | 1 +
.../kernel-module-split.bbclass | 46 +++++++++++++++++++
meta/classes-recipe/kernel.bbclass | 12 ++---
meta/classes-recipe/module.bbclass | 2 +-
meta/conf/documentation.conf | 1 +
meta/lib/oe/package.py | 26 ++---------
6 files changed, 58 insertions(+), 30 deletions(-)
--
2.50.1 (Apple Git-155)
next reply other threads:[~2026-08-25 20:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-25 20:49 Anis Bougrine [this message]
2026-08-25 20:49 ` [OE-core][PATCH v5 1/5] kernel-module-split.bbclass: add get_ext_mod function for module signing Anis Bougrine
2026-08-26 8:33 ` Richard Purdie
2026-08-26 9:55 ` Bougrine Anis
2026-08-25 20:49 ` [OE-core][PATCH v5 2/5] kernel: re-sign kernel modules after package stripping process Anis Bougrine
2026-08-25 20:49 ` [OE-core][PATCH v5 3/5] package.py: remove stripping and splitting skip for signed kernel modules Anis Bougrine
2026-08-25 20:49 ` [OE-core][PATCH v5 4/5] kernel: centralize kernel module installation path in one variable Anis Bougrine
2026-08-25 20:49 ` [OE-core][PATCH v5 5/5] documentation.conf: add documentation for KERNEL_MODULE_INSTALL_PREFIX variable Anis Bougrine
2026-08-25 21:03 ` Patchtest results for " patchtest
2026-08-26 7:24 ` Antonin Godard
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=20260825204931.17628-1-anis.bougrine10@gmail.com \
--to=anis.bougrine10@gmail.com \
--cc=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.kjellerstedt@axis.com \
--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