public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/1] Add support to build binary version of DKMS kernel
@ 2021-04-14  8:36 Felix Moessbauer
  2021-04-14  8:36 ` [PATCH 1/1] Add support to build binary version of DKMS kernel modules Felix Moessbauer
  0 siblings, 1 reply; 18+ messages in thread
From: Felix Moessbauer @ 2021-04-14  8:36 UTC (permalink / raw)
  To: isar-users; +Cc: henning.schild, jan.kiszka, Felix Moessbauer

DKMS kernel modules provide a way to deliver the sources of a kernel module
along with a machine readable specification of how to build the module
for the currently active kernel. Debian already ships a lot of kernel modules
as DKMS packages.

For embedded images, these DKMS modules are not really an option, as it would
require the image to provide a compiler and build system as well.
For this use-case, DKMS provides a way to pre-build a binary version
of the module for a specific kernel and ship that as a debian package.
Note, that this support is not implemented as part of the debhelpers, but
by DKMS itself.

This series adds support for the described use-case in ISAR.
By that, upstream DKMS modules can be fetched and build for
the image's kernel in ISAR. The generated binary package
can then be installed onto the target image.

To show how to use that, an example is provided in meta-isar.

Best regards,
Felix Moessbauer

Felix Moessbauer (1):
  Add support to build binary version of DKMS kernel modules

 .../example-dkms-module/igb-uio_20.11.bb      | 14 ++++
 meta/classes/dkms-module.bbclass              | 68 +++++++++++++++++++
 2 files changed, 82 insertions(+)
 create mode 100644 meta-isar/recipes-kernel/example-dkms-module/igb-uio_20.11.bb
 create mode 100644 meta/classes/dkms-module.bbclass

-- 
2.20.1


^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH v3 0/1] Add support to build binary version of DKMS kernel modules
@ 2021-04-30 14:02 Felix Moessbauer
  2021-04-30 14:47 ` Anton Mikanovich
  0 siblings, 1 reply; 18+ messages in thread
From: Felix Moessbauer @ 2021-04-30 14:02 UTC (permalink / raw)
  To: isar-users; +Cc: henning.schild, jan.kiszka, Felix Moessbauer

Hi,

this also fixes the build for i386.

Changes since v3:

- ensure that the module is build before packaging (fixes i386)
- add mapping between ISAR arch name and kernel (machine) arch 

Best regards,
Felix

Felix Moessbauer (1):
  Add support to build binary version of DKMS kernel modules

 meta-isar/conf/local.conf.sample              |  5 +-
 .../example-dkms-module.bb                    | 14 ++++
 meta/classes/dkms-module.bbclass              | 76 +++++++++++++++++++
 scripts/ci_build.sh                           |  1 +
 4 files changed, 95 insertions(+), 1 deletion(-)
 create mode 100644 meta-isar/recipes-kernel/example-dkms-module/example-dkms-module.bb
 create mode 100644 meta/classes/dkms-module.bbclass

-- 
2.20.1


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

end of thread, other threads:[~2021-04-30 14:47 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14  8:36 [PATCH 0/1] Add support to build binary version of DKMS kernel Felix Moessbauer
2021-04-14  8:36 ` [PATCH 1/1] Add support to build binary version of DKMS kernel modules Felix Moessbauer
2021-04-14  8:52   ` Henning Schild
2021-04-14  9:03     ` Jan Kiszka
2021-04-15 12:26       ` Henning Schild
2021-04-15 12:41         ` Raphael Lisicki
2021-04-15 12:52         ` Jan Kiszka
2021-04-19 12:45           ` Moessbauer, Felix
2021-04-19 13:33             ` Jan Kiszka
2021-04-22 10:44   ` Anton Mikanovich
2021-04-22 16:02     ` [PATCH v2 0/1] " Felix Moessbauer
2021-04-23  6:03       ` Jan Kiszka
2021-04-22 16:02     ` [PATCH v2 1/1] " Felix Moessbauer
2021-04-26 16:16     ` [PATCH v3 0/1] " Felix Moessbauer
2021-04-26 16:16     ` [PATCH v3 1/1] " Felix Moessbauer
2021-04-28 11:03       ` Anton Mikanovich
2021-04-30 14:02 [PATCH v3 0/1] " Felix Moessbauer
2021-04-30 14:47 ` Anton Mikanovich

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