From 28b09beda538b50aca1801bce7c0eba2e0be3985 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Tue, 9 Jun 2026 21:46:55 +0200 Subject: serial: T8974: invalid check during migration system 31 -> 32 Commit 35db941bcf30 ("serial: T8375: add CLI option to explicitly set kernel console") added a migration script to alter the CLI for the kernel boot console. The migrations script early exist check does not work, as the statement never evaluates to true, thus the CLI Migration for Kernel console parameter is always called, even if undesired. --- src/migration-scripts/system/31-to-32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/migration-scripts/system') diff --git a/src/migration-scripts/system/31-to-32 b/src/migration-scripts/system/31-to-32 index 1688b44ed..b68dab34f 100644 --- a/src/migration-scripts/system/31-to-32 +++ b/src/migration-scripts/system/31-to-32 @@ -24,7 +24,7 @@ serial_console = 'ttyS0' base = ['system', 'console'] def migrate(config: ConfigTree) -> None: - if not base: + if not config.exists(base): return root_dir = disk.find_persistence() -- cgit v1.2.3