]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/bootspec: don't warn for new `loader.conf` options and correctly parse new...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 4 Oct 2025 21:35:54 +0000 (23:35 +0200)
committerGitHub <noreply@github.com>
Sat, 4 Oct 2025 21:35:54 +0000 (23:35 +0200)
commitb49bff0da7c10c9ee7084748099abc5d21b04cb3
treee9267be2678129d911796ee937c47a96fb37c50f
parent60597825ef87e53cb4b530888fcfe78a2a090da0
parent0b89d8cfeca7a6ad602efc65d9bc383104b5677d
shared/bootspec: don't warn for new `loader.conf` options and correctly parse new `uki` and `profile` boot entry options (#39165)

Commit e2a3d562189c413de3262ec47cdc1e1b0b13d78b added the `uki` option
to sd-boot, and 1e9c9773b994f2f703a5aa5ba80961e90be3a892 added
`profile`, but because these were not added in src/shared/bootspec,
bootctl still shows warnings like `Unknown line 'uki', ignoring.` when
parsing the config. This PR allows parsing and displaying them correctly
in `bootctl` output. It also stops it from printing a warning for any of
the new `loader.conf` options (`log-level`, `reboot-on-error`, etc.).
Note that `uki-url` is still not handled as I can't easily test it.