From: "'Jan Kiszka' via isar-users" <isar-users@googlegroups.com>
To: Quirin Gylstorff <Quirin.Gylstorff@siemens.com>,
isar-users@googlegroups.com, cedric.hombourger@siemens.com,
felix.moessbauer@siemens.com
Subject: Re: [PATCH v4 00/10] Add support for dracut
Date: Wed, 22 Oct 2025 17:58:59 +0200 [thread overview]
Message-ID: <5dcbbbf2-ed82-4e35-bebc-2215044819bb@siemens.com> (raw)
In-Reply-To: <20251022150737.3639891-1-Quirin.Gylstorff@siemens.com>
On 22.10.25 17:06, Quirin Gylstorff wrote:
> 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.
>
> You can switch a normal Debian version to a dracut based initrd
> by installing the package `dracut`. This similar to a normal Debian
> installation.
>
> Customizing the initrd generation should be done with a seperate recipe
> which inherit `initrd-dracut`. This is intentionally done to avoid
> installing packages which are only used by the initrd generation process.
>
> [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 v4:
> - fix extra_modules and extra_drivers
> - extend user_manual to switch normal installation to dracut
>
> Changes v3:
> - drop initramfs patch
> - add examples
> - add user_manual section
>
> 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 (10):
> 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
> Add class to generate custom dracut initramfs
> rootfs: add flag to use dracut if it is not part of the package list
> Add example dracut initramfs
> Add dracut module helper
> Use lighttpd as a example how to add a dracut module
> user_manual: Add dracut for initramfs generation
>
> doc/user_manual.md | 51 ++++++++++++++++--
> .../dracut-example-lighttpd_0.1.bb | 26 ++++++++++
> .../dracut-example-lighttpd/files/install.sh | 21 ++++++++
> .../files/lighttpd.conf | 52 +++++++++++++++++++
> .../files/lighttpd.service | 13 +++++
> .../files/sysuser-lighttpd.conf | 3 ++
> .../recipes-initramfs/images/isar-dracut.bb | 20 +++++++
> meta/classes/initramfs.bbclass | 19 ++++++-
> meta/classes/initrd-dracut.bbclass | 49 +++++++++++++++++
> meta/classes/rootfs.bbclass | 17 ++++--
> .../dracut-module/dracut-module.inc | 41 +++++++++++++++
> .../dracut-module/files/module-setup.sh.tmpl | 20 +++++++
> meta/recipes-kernel/linux/linux-custom.inc | 2 +-
> 13 files changed, 324 insertions(+), 10 deletions(-)
> create mode 100644 meta-isar/recipes-initramfs/dracut-example-lighttpd/dracut-example-lighttpd_0.1.bb
> create mode 100644 meta-isar/recipes-initramfs/dracut-example-lighttpd/files/install.sh
> create mode 100644 meta-isar/recipes-initramfs/dracut-example-lighttpd/files/lighttpd.conf
> create mode 100644 meta-isar/recipes-initramfs/dracut-example-lighttpd/files/lighttpd.service
> create mode 100644 meta-isar/recipes-initramfs/dracut-example-lighttpd/files/sysuser-lighttpd.conf
> create mode 100644 meta-isar/recipes-initramfs/images/isar-dracut.bb
> create mode 100644 meta/classes/initrd-dracut.bbclass
> create mode 100644 meta/recipes-initramfs/dracut-module/dracut-module.inc
> create mode 100644 meta/recipes-initramfs/dracut-module/files/module-setup.sh.tmpl
>
General style remarks:
- lots of every new-lines at EOF
- lots of missing newlines elsewhere between those two
VARIABLE = "value"
do_something {
Repeating pattern...
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center
--
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/5dcbbbf2-ed82-4e35-bebc-2215044819bb%40siemens.com.
prev parent reply other threads:[~2025-10-22 15:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-22 15:06 'Quirin Gylstorff' via isar-users
2025-10-22 15:06 ` [PATCH v4 01/10] add dracut to custom kernel builds 'Quirin Gylstorff' via isar-users
2025-10-22 15:06 ` [PATCH v4 02/10] rootfs: Allow to overwrite the initramfs generation cmds 'Quirin Gylstorff' via isar-users
2025-10-22 15:44 ` 'Jan Kiszka' via isar-users
2025-10-22 15:53 ` 'cedric.hombourger@siemens.com' via isar-users
2025-10-22 15:56 ` 'Jan Kiszka' via isar-users
2025-10-23 8:00 ` 'Quirin Gylstorff' via isar-users
2025-10-22 15:06 ` [PATCH v4 03/10] rootfs Add dracut to initramfs generator 'Quirin Gylstorff' via isar-users
2025-10-22 15:06 ` [PATCH v4 04/10] initramfs: allow to set the generator command 'Quirin Gylstorff' via isar-users
2025-10-22 15:06 ` [PATCH v4 05/10] Add class to generate custom dracut initramfs 'Quirin Gylstorff' via isar-users
2025-10-22 15:06 ` [PATCH v4 06/10] rootfs: add flag to use dracut if it is not part of the package list 'Quirin Gylstorff' via isar-users
2025-10-22 15:06 ` [PATCH v4 07/10] Add example dracut initramfs 'Quirin Gylstorff' via isar-users
2025-10-22 15:06 ` [PATCH v4 08/10] Add dracut module helper 'Quirin Gylstorff' via isar-users
2025-10-22 15:06 ` [PATCH v4 09/10] Use lighttpd as a example how to add a dracut module 'Quirin Gylstorff' via isar-users
2025-10-22 16:08 ` 'Jan Kiszka' via isar-users
2025-10-23 8:19 ` 'Quirin Gylstorff' via isar-users
2025-10-22 15:07 ` [PATCH v4 10/10] user_manual: Add dracut for initramfs generation 'Quirin Gylstorff' via isar-users
2025-10-22 15:58 ` 'Jan Kiszka' via isar-users [this message]
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=5dcbbbf2-ed82-4e35-bebc-2215044819bb@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