From 2bb5ba2fcddea2f32dcf78d657094fbdff61331e Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 7 Jan 2025 09:54:11 -0500 Subject: [PATCH] rpmostree: Use `--merge` for kargs Without `--merge`, all kernel arguments will be replaced, which is not what is desired in general. Especially with bootc karg support which we definitely want to work with Anaconda. Signed-off-by: Colin Walters --- pyanaconda/modules/payloads/payload/rpm_ostree/installation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py b/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py index 083f1187db9..6f1e77e50d0 100644 --- a/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py +++ b/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py @@ -572,7 +572,7 @@ def _set_kargs(self): device_tree.GetDeviceData(root_id) ) - set_kargs_args = ["admin", "instutil", "set-kargs"] + set_kargs_args = ["admin", "instutil", "set-kargs", "--merge"] set_kargs_args.extend(bootloader.GetArguments()) set_kargs_args.append("root=" + device_tree.GetFstabSpec(root_id)) set_kargs_args.append("vconsole.keymap=" + localization.VirtualConsoleKeymap)