[PATCH] installer: suppress kernel info/debug messages

18 views
Skip to first unread message

Badrikesh Prusty

unread,
Dec 22, 2025, 9:16:42 PM12/22/25
to isar-...@googlegroups.com, florian...@siemens.com, Badrikesh Prusty
Lower the kernel log level to 4 to suppress 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..a58f8849 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=4"

OVERRIDES .= "${@':unattended-installer' if bb.utils.to_boolean(d.getVar('INSTALLER_UNATTENDED')) else ''}"
ADDITIONAL_KERNEL_CMDLINE:append:unattended-installer = " \
--
2.47.3

Anton Mikanovich

unread,
Jan 5, 2026, 4:24:39 AM (2 days ago) Jan 5
to isar-...@googlegroups.com
Applied to next, thanks.

Florian Bezdeka

unread,
Jan 5, 2026, 10:16:44 AM (2 days ago) Jan 5
to Anton Mikanovich, isar-...@googlegroups.com
On Mon, 2026-01-05 at 11:24 +0200, Anton Mikanovich wrote:
> Applied to next, thanks.

Why? There was a v2 on the list already. Hiding warnings is not a good
idea.
> --
> 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/b9313d7e-3bd4-4e69-b238-2cba70310235%40ilbers.de.

Badrikesh Prusty

unread,
Jan 5, 2026, 10:24:11 AM (2 days ago) Jan 5
to isar-users
Hi Florian,

As per your previous suggestion, the warning messages are no longer hidden.
This has already been addressed by changing the log level from loglevel=3 to
loglevel=4 in v2 of the patch. With loglevel=4, warning messages are displayed,
and only info and debug messages are skipped.

Thanks,
Badrikesh

Anton Mikanovich

unread,
Jan 5, 2026, 10:35:43 AM (2 days ago) Jan 5
to isar-...@googlegroups.com, Bezdeka, Florian
Hello Florian,

You are commenting it in v2 thread already.
Correct version was merged.
Badrikesh didn't add new version tag, so it creates some confusion.

Florian Bezdeka

unread,
Jan 5, 2026, 10:47:16 AM (2 days ago) Jan 5
to Anton Mikanovich, isar-...@googlegroups.com
On Mon, 2026-01-05 at 16:16 +0100, 'Florian Bezdeka' via isar-users
wrote:
> On Mon, 2026-01-05 at 11:24 +0200, Anton Mikanovich wrote:
> > Applied to next, thanks.
>
> Why? There was a v2 on the list already. Hiding warnings is not a good
> idea.

Ignore that. v2 was merged but was never tagged as v2. This is where the
confusion starts.
> To view this discussion visit https://groups.google.com/d/msgid/isar-users/6229e195c881f23c581aa5dba4664d52daf410c8.camel%40siemens.com.
Reply all
Reply to author
Forward
0 new messages