public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Quirin Gylstorff' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com, jan.kiszka@siemens.com,
	felix.moessbauer@siemens.com, cedric.hombourger@siemens.com
Subject: [RFC PATCH v2 0/5] Add support for dracut
Date: Fri,  5 Sep 2025 16:28:41 +0200	[thread overview]
Message-ID: <20250905142913.3336245-1-Quirin.Gylstorff@siemens.com> (raw)

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.

             reply	other threads:[~2025-09-05 14:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-05 14:28 'Quirin Gylstorff' via isar-users [this message]
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

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=20250905142913.3336245-1-Quirin.Gylstorff@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=Quirin.Gylstorff@siemens.com \
    --cc=cedric.hombourger@siemens.com \
    --cc=felix.moessbauer@siemens.com \
    --cc=jan.kiszka@siemens.com \
    /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