installer: suppress kernel info/debug messages

Message ID 20251223021555.289180-1-badrikesh.prusty@siemens.com
State Under Review
Headers show
Series installer: suppress kernel info/debug messages | expand

Commit Message

Badrikesh Prusty Dec. 23, 2025, 2:15 a.m. UTC
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 <badrikesh.prusty@siemens.com>
---
 meta-isar/recipes-core/images/isar-image-installer.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

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 = " \