Openembedded Core Discussions
 help / color / mirror / Atom feed
* [OE-core][PATCH v7 0/5] Make signed kernel modules stripped
@ 2026-08-26 23:34 Anis Bougrine
  2026-08-26 23:34 ` [OE-core][PATCH v7 1/5] lib/oe/kernel_module.py: add get_ext_mod function for module signing Anis Bougrine
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Anis Bougrine @ 2026-08-26 23:34 UTC (permalink / raw)
  To: openembedded-core; +Cc: richard.purdie, Anis Bougrine

- Re-sign modules after the package stripping process.
- Remove the package-stripping skip for signed 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 V7:

    - Move get_ext_mod() function to lib/oe/kernel_module.py lib

changes in V6:

    - Sort KERNEL_MODULE_INSTALL_PREFIX variable documentation alphabetically

changes in V5:

    - Adapt signing function to 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):
  lib/oe/kernel_module.py: 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               | 25 ++++++++++++++++++
 meta/classes-recipe/kernel.bbclass            | 12 ++++-----
 meta/classes-recipe/module.bbclass            |  2 +-
 meta/conf/documentation.conf                  |  1 +
 meta/lib/oe/__init__.py                       |  2 +-
 meta/lib/oe/kernel_module.py                  | 21 +++++++++++++++
 meta/lib/oe/package.py                        | 26 +++----------------
 8 files changed, 59 insertions(+), 31 deletions(-)

-- 
2.50.1 (Apple Git-155)



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-09-09 13:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-26 23:34 [OE-core][PATCH v7 0/5] Make signed kernel modules stripped Anis Bougrine
2026-08-26 23:34 ` [OE-core][PATCH v7 1/5] lib/oe/kernel_module.py: add get_ext_mod function for module signing Anis Bougrine
2026-08-26 23:34 ` [OE-core][PATCH v7 2/5] kernel: re-sign kernel modules after package stripping process Anis Bougrine
2026-09-05  7:39   ` Richard Purdie
2026-09-07 10:28     ` Bougrine Anis
2026-09-09 13:56       ` Martin Jansa
2026-08-26 23:34 ` [OE-core][PATCH v7 3/5] package.py: remove stripping and splitting skip for signed kernel modules Anis Bougrine
2026-08-26 23:34 ` [OE-core][PATCH v7 4/5] kernel: centralize kernel module installation path in one variable Anis Bougrine
2026-08-26 23:34 ` [OE-core][PATCH v7 5/5] documentation.conf: add documentation for KERNEL_MODULE_INSTALL_PREFIX variable Anis Bougrine
2026-08-26 23:48   ` Patchtest results for " patchtest

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox