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