From: Anton Mikanovich <amikan@ilbers.de>
To: Rakesh Kumar <kumar.rakesh@siemens.com>, isar-users@googlegroups.com
Cc: jan.kiszka@siemens.com, cedric.hombourger@siemens.com
Subject: Re: [PATCH] fix: preserve indentation in dracut module-setup.sh
Date: Thu, 18 Dec 2025 13:26:32 +0200 [thread overview]
Message-ID: <dbabc543-57dc-495e-ab31-3c79c0e28bc4@ilbers.de> (raw)
In-Reply-To: <20251216101936.3259099-1-kumar.rakesh@siemens.com>
16/12/2025 12:19, 'Rakesh Kumar' via isar-users wrote:
> The marker replacement logic treated the inserted file content
> as plain text, which caused indentation to be lost in generated
> scripts (e.g. module-setup.sh).
>
> Update the replacement logic to detect the marker line’s
> indentation and apply the same indentation to all non-empty lines
> of the inserted content. This preserves the original formatting
> and avoids syntax and readability issues in the generated files.
>
> Signed-off-by: Rakesh Kumar <kumar.rakesh@siemens.com>
Applied to next, thanks.
--
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/dbabc543-57dc-495e-ab31-3c79c0e28bc4%40ilbers.de.
prev parent reply other threads:[~2025-12-18 11:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-16 10:19 'Rakesh Kumar' via isar-users
2025-12-18 11:26 ` Anton Mikanovich [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=dbabc543-57dc-495e-ab31-3c79c0e28bc4@ilbers.de \
--to=amikan@ilbers.de \
--cc=cedric.hombourger@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
--cc=kumar.rakesh@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