Skip to content

Commit

Permalink
Merge pull request #6084 from cgwalters/kargs
Browse files Browse the repository at this point in the history
rpmostree: Use `--merge` for kargs
  • Loading branch information
jkonecny12 authored Jan 15, 2025
2 parents 880d6f7 + cb7276e commit 2c34a65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@ def test_btrfs_run(self, devdata_mock, storage_mock, localization_mock,
["admin",
"instutil",
"set-kargs",
"--merge",
"BOOTLOADER-ARGS",
"root=FSTAB-SPEC",
"vconsole.keymap=cs",
Expand Down Expand Up @@ -773,6 +774,7 @@ def test_nonbtrfs_run(self, devdata_mock, storage_mock, localization_mock,
["admin",
"instutil",
"set-kargs",
"--merge",
"BOOTLOADER-ARGS",
"root=FSTAB-SPEC",
"vconsole.keymap=cs",
Expand Down Expand Up @@ -825,6 +827,7 @@ def test_bootupd_run(self, devdata_mock, storage_mock, localization_mock, symlin
["admin",
"instutil",
"set-kargs",
"--merge",
"BOOTLOADER-ARGS",
"root=FSTAB-SPEC",
"vconsole.keymap=cs",
Expand Down Expand Up @@ -878,6 +881,7 @@ def test_bootupd_run_with_leavebootorder(self, devdata_mock, storage_mock, local
["admin",
"instutil",
"set-kargs",
"--merge",
"BOOTLOADER-ARGS",
"root=FSTAB-SPEC",
"vconsole.keymap=cs",
Expand Down

0 comments on commit 2c34a65

Please sign in to comment.