From 9ac01da5ded95b171e03d3bc0bafb8b6cba42718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Tue, 9 Jan 2024 11:18:30 +0100 Subject: [PATCH] Fixed regression in GRUB_SERIAL_COMMAND setup The condition to write the serial line setup was broken. This commit fixes it. Related to Issue #2419 --- kiwi/bootloader/config/grub2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiwi/bootloader/config/grub2.py b/kiwi/bootloader/config/grub2.py index 2b9d69c3218..92c32c1e75d 100644 --- a/kiwi/bootloader/config/grub2.py +++ b/kiwi/bootloader/config/grub2.py @@ -771,7 +771,7 @@ def _setup_default_grub(self): grub_final_cmdline ) if self.serial_line_setup and \ - 'serial' in self.terminal_input or 'serial' in self.terminal_output: + ('serial' in self.terminal_input or 'serial' in self.terminal_output): grub_default_entries['GRUB_SERIAL_COMMAND'] = '"{0}"'.format( self.serial_line_setup )