ukify: honor UKI/SBAT from config files

`UkifyConfig.sbat` is an optional list, so the default of
`config_set_if_unset` would only accept a single value.

Further, it is defined with an empty list as a default, causing
configuration values to always be ignored, as the default is not
`None`.

Set its `config_push` to `ConfigItem.config_list_prepend` to collect
the `SBAT` lines from the config.

Signed-off-by: Wolfgang Bumiller <w.bumiller@errno.eu>
This commit is contained in:
Wolfgang Bumiller
2026-06-04 17:13:03 +02:00
parent 5d5f9429fe
commit 345acde398
+1
View File
@@ -2018,6 +2018,7 @@ CONFIG_ITEMS = [
default=[],
action='append',
config_key='UKI/SBAT',
config_push=ConfigItem.config_list_prepend,
),
ConfigItem(
'--pcrpkey',