From 345acde398611a24910fefa80c957fcbb6fc61d0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 4 Jun 2026 17:07:22 +0200 Subject: [PATCH] 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 --- src/ukify/ukify.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py index 59078c98aa..7e3dd9038c 100755 --- a/src/ukify/ukify.py +++ b/src/ukify/ukify.py @@ -2018,6 +2018,7 @@ CONFIG_ITEMS = [ default=[], action='append', config_key='UKI/SBAT', + config_push=ConfigItem.config_list_prepend, ), ConfigItem( '--pcrpkey',