public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/5] Add support for dracut
@ 2025-09-05 14:28 'Quirin Gylstorff' via isar-users
  2025-09-05 14:28 ` [RFC PATCH v2 1/5] enable-fsck: remove dependency to initramfs-tools 'Quirin Gylstorff' via isar-users
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: 'Quirin Gylstorff' via isar-users @ 2025-09-05 14:28 UTC (permalink / raw)
  To: isar-users, jan.kiszka, felix.moessbauer, cedric.hombourger

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 possibility to generate custom dracut initrd.
This will be added in a future revision of this patch set.

[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

Changes v2:
 - extract the initramfs-cmd from the cmdline
 - increase version of enable-fsck
 - add function to print an error in case a invalid package is installed

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                | 19 +++++++++++++--
 meta/classes/rootfs.bbclass                   | 23 ++++++++++++++++---
 meta/recipes-kernel/linux/linux-custom.inc    |  2 +-
 ...{enable-fsck_0.2.bb => enable-fsck_0.3.bb} |  2 +-
 4 files changed, 39 insertions(+), 7 deletions(-)
 rename meta/recipes-support/enable-fsck/{enable-fsck_0.2.bb => enable-fsck_0.3.bb} (89%)

-- 
2.50.1

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250905142913.3336245-1-Quirin.Gylstorff%40siemens.com.

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

end of thread, other threads:[~2025-09-05 15:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-05 14:28 [RFC PATCH v2 0/5] Add support for dracut 'Quirin Gylstorff' via isar-users
2025-09-05 14:28 ` [RFC PATCH v2 1/5] enable-fsck: remove dependency to initramfs-tools 'Quirin Gylstorff' via isar-users
2025-09-05 14:52   ` 'Jan Kiszka' via isar-users
2025-09-05 14:28 ` [RFC PATCH v2 2/5] add dracut to custom kernel builds 'Quirin Gylstorff' via isar-users
2025-09-05 14:28 ` [RFC PATCH v2 3/5] rootfs: Allow to overwrite the initramfs generation cmds 'Quirin Gylstorff' via isar-users
2025-09-05 15:10   ` 'Jan Kiszka' via isar-users
2025-09-05 14:28 ` [RFC PATCH v2 4/5] rootfs Add dracut to initramfs generator 'Quirin Gylstorff' via isar-users
2025-09-05 14:28 ` [RFC PATCH v2 5/5] initramfs: allow to set the generator command 'Quirin Gylstorff' via isar-users

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