public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Florian Bezdeka' via isar-users" <isar-users@googlegroups.com>
To: Badrikesh Prusty <badrikesh.prusty@siemens.com>,
	isar-users@googlegroups.com
Subject: Re: [PATCH] installer: suppress kernel warning/info/debug messages
Date: Mon, 22 Dec 2025 23:50:39 +0100	[thread overview]
Message-ID: <20caeb59e8fcb69ea1524ef7f48fefd1133a0570.camel@siemens.com> (raw)
In-Reply-To: <20251219143600.2585542-1-badrikesh.prusty@siemens.com>

On Fri, 2025-12-19 at 09:36 -0500, 'Badrikesh Prusty' via isar-users
wrote:
> Lower the kernel log level to 3 to suppress warning, notice, info,
> and debug messages on the console.
> This prevents audit and driver messages from cluttering the screen
> while keeping critical errors and systemd service status output
> visible, resulting in a cleaner installer UI.

Hiding warnings is not a good idea. If something is wrong on the target
the user should know. It will not be the first time that a problem is
hidden (and comes back in "urgent mode") just because someone decided to
suppress warnings.

> 
> Signed-off-by: Badrikesh Prusty <badrikesh.prusty@siemens.com>
> ---
>  meta-isar/recipes-core/images/isar-image-installer.bb | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-isar/recipes-core/images/isar-image-installer.bb b/meta-isar/recipes-core/images/isar-image-installer.bb
> index 3511f3f6..fde81a19 100644
> --- a/meta-isar/recipes-core/images/isar-image-installer.bb
> +++ b/meta-isar/recipes-core/images/isar-image-installer.bb
> @@ -11,7 +11,8 @@ DESCRIPTION = "Example of a ISAR based Installer Image"
>  INSTALLER_WKS_FILE ??= "installer-efi.wks.in"
>  WKS_FILE = "${INSTALLER_WKS_FILE}"
>  
> -ADDITIONAL_KERNEL_CMDLINE ??= ""
> +# Hide kernel warning/info/debug messages
> +ADDITIONAL_KERNEL_CMDLINE ??= "loglevel=3"
>  
>  OVERRIDES .= "${@':unattended-installer' if bb.utils.to_boolean(d.getVar('INSTALLER_UNATTENDED')) else ''}"
>  ADDITIONAL_KERNEL_CMDLINE:append:unattended-installer = " \
> -- 
> 2.47.3
> 
> -- 
> 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/20251219143600.2585542-1-badrikesh.prusty%40siemens.com.

-- 
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/20caeb59e8fcb69ea1524ef7f48fefd1133a0570.camel%40siemens.com.

  reply	other threads:[~2025-12-22 22:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-19 14:36 'Badrikesh Prusty' via isar-users
2025-12-22 22:50 ` 'Florian Bezdeka' via isar-users [this message]
2025-12-23  2:12   ` 'Badrikesh Prusty' via isar-users
2025-12-23  2:17     ` 'Badrikesh Prusty' 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=20caeb59e8fcb69ea1524ef7f48fefd1133a0570.camel@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=badrikesh.prusty@siemens.com \
    --cc=florian.bezdeka@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