[PATCH] installer: suppress kernel warning/info/debug messages

12 views
Skip to first unread message

Badrikesh Prusty

unread,
Dec 19, 2025, 9:36:32 AM12/19/25
to isar-...@googlegroups.com, Badrikesh Prusty
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.

Signed-off-by: Badrikesh Prusty <badrikes...@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

Florian Bezdeka

unread,
Dec 22, 2025, 5:50:44 PM12/22/25
to Badrikesh Prusty, isar-...@googlegroups.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 <badrikes...@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+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/isar-users/20251219143600.2585542-1-badrikesh.prusty%40siemens.com.

Badrikesh Prusty

unread,
Dec 22, 2025, 9:12:16 PM12/22/25
to isar-users
Hi,

Agreed, hiding warning is a bad idea. I will increase loglevel to 4 to show the warning messages as well and send patch v2.

Thanks,
Badrikesh

Badrikesh Prusty

unread,
Dec 22, 2025, 9:17:40 PM12/22/25
to isar-users
Reply all
Reply to author
Forward
0 new messages