public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Zhihang Wei <wzh@ilbers.de>
To: srinuvasan.a@siemens.com, isar-users@googlegroups.com
Cc: quirin.gylstorff@siemens.com
Subject: Re: [PATCH] kas: add dracut option to menu
Date: Wed, 26 Nov 2025 10:43:14 +0100	[thread overview]
Message-ID: <68946cd9-cb92-4c7b-8068-5ed531c000df@ilbers.de> (raw)
In-Reply-To: <20251116101111.385313-1-srinuvasan.a@siemens.com>

Applied to next, thanks.

On 11/16/25 11:11, srinuvasan.a via isar-users wrote:
> 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"

-- 
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/68946cd9-cb92-4c7b-8068-5ed531c000df%40ilbers.de.

      reply	other threads:[~2025-11-26  9:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-16 10:11 srinuvasan.a via isar-users
2025-11-26  9:43 ` Zhihang Wei [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=68946cd9-cb92-4c7b-8068-5ed531c000df@ilbers.de \
    --to=wzh@ilbers.de \
    --cc=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