From: Daan De Meyer Date: Sat, 6 May 2023 11:34:27 +0000 (+0200) Subject: Make secure boot key and certificate required if set X-Git-Tag: v15~177^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00a8f104ccb85f7622eb7adcdceb107ad0b22c28;p=thirdparty%2Fmkosi.git Make secure boot key and certificate required if set If these are explicitly configured, we should make sure the paths exist. --- diff --git a/mkosi/config.py b/mkosi/config.py index a4549e7ff..317dd7a6c 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -829,13 +829,13 @@ class MkosiConfigParser: MkosiConfigSetting( dest="secure_boot_key", section="Output", - parse=config_make_path_parser(required=False), + parse=config_make_path_parser(), paths=("mkosi.key",), ), MkosiConfigSetting( dest="secure_boot_certificate", section="Output", - parse=config_make_path_parser(required=False), + parse=config_make_path_parser(), paths=("mkosi.crt",), ), MkosiConfigSetting(