From: "srinuvasan.a via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: quirin.gylstorff@siemens.com, srinuvasan <srinuvasan.a@siemens.com>
Subject: [PATCH] kas: add dracut option to menu
Date: Sun, 16 Nov 2025 15:41:11 +0530 [thread overview]
Message-ID: <20251116101111.385313-1-srinuvasan.a@siemens.com> (raw)
From: srinuvasan <srinuvasan.a@siemens.com>
Debian announced that starting from forky, Dracut is the default
tool for generating the initramfs, this change adds an option to build the initramfs using Dracut
By default, the initramfs is generated with initramfs-tools
Append kas/opt/dracut.yml to enable initramfs generation with Dracut.
Signed-off-by: srinuvasan <srinuvasan.a@siemens.com>
---
kas/opt/Kconfig | 10 ++++++++++
kas/opt/dracut.yaml | 10 ++++++++++
2 files changed, 20 insertions(+)
create mode 100644 kas/opt/dracut.yaml
diff --git a/kas/opt/Kconfig b/kas/opt/Kconfig
index 3fa57f87..fbf098de 100644
--- a/kas/opt/Kconfig
+++ b/kas/opt/Kconfig
@@ -194,3 +194,13 @@ config KAS_INCLUDE_CACHE_DBG_PKGS
string
default "kas/opt/cache-dbg-pkgs.yaml"
depends on CACHE_DBG_PKGS
+
+config USE_DRACUT
+ bool "Use dracut to generate the initramfs"
+ help
+ This feature enables generating the initramfs using the dracut tool
+
+config KAS_INCLUDE_USE_DRACUT
+ string
+ default "kas/opt/dracut.yaml"
+ depends on USE_DRACUT
diff --git a/kas/opt/dracut.yaml b/kas/opt/dracut.yaml
new file mode 100644
index 00000000..6d245ffb
--- /dev/null
+++ b/kas/opt/dracut.yaml
@@ -0,0 +1,10 @@
+# This software is a part of ISAR.
+# Copyright (C) 2025 ilbers GmbH
+
+header:
+ version: 14
+
+local_conf_header:
+ dracut: |
+ IMAGE_PREINSTALL:append = " dracut"
+ IMAGE_INSTALL:remove = "enable-fsck"
--
2.39.5
--
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/20251116101111.385313-1-srinuvasan.a%40siemens.com.
next reply other threads:[~2025-11-16 10:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-16 10:11 srinuvasan.a via isar-users [this message]
2025-11-26 9:43 ` Zhihang Wei
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=20251116101111.385313-1-srinuvasan.a@siemens.com \
--to=isar-users@googlegroups.com \
--cc=quirin.gylstorff@siemens.com \
--cc=srinuvasan.a@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