mbox series

[RFC,0/5] Add support for dracut

Message ID 20250905113014.2765493-1-Quirin.Gylstorff@siemens.com
Headers show
Series Add support for dracut | expand

Message

Quirin Gylstorff Sept. 5, 2025, 11:27 a.m. UTC
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

Debian intends to change the default initrd generator from
initramfs-tools to dracut[1],[2].

This is a first draft to support multiple initrd generator in
ISAR. I tested it with bookworm and trixie.

Currently missing is the possiblity to generate custom dracut initrd.
This will be added in a future revision of this patchset.

[1]: https://salsa.debian.org/kernel-team/meetings/-/wikis/20250730
[2]: https://meetbot.debian.net/debian-kernel/2025/debian-kernel.2025-08-06-19.00.log.html

Quirin Gylstorff (5):
  enable-fsck: remove dependency to initramfs-tools
  add dracut to custom kernel builds
  rootfs: Allow to overwrite the initramfs generation cmds
  rootfs Add dracut to initramfs generator
  initramfs: allow to set the generator command

 meta/classes/initramfs.bbclass                |  3 ++-
 meta/classes/rootfs.bbclass                   | 22 ++++++++++++++++---
 meta/recipes-kernel/linux/linux-custom.inc    |  2 +-
 .../enable-fsck/enable-fsck_0.2.bb            |  2 +-
 4 files changed, 23 insertions(+), 6 deletions(-)