summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2021-11-26 14:00:02 +0100
committerJan Janssen <medhefgo@web.de>2021-11-28 16:20:54 +0100
commit252b6b1bfd5912ffd11db095b6675086e1f9b3d2 (patch)
tree30d068396c302991a78cdf4bf635072dd84efb8c /meson_options.txt
parent64a05587ce91ea53cb737944194c525831fbbe56 (diff)
downloadsystemd-252b6b1bfd5912ffd11db095b6675086e1f9b3d2.tar.gz
meson: Default to sbat-distro=auto
Any recent shim will refuse starting an image that does not have an sbat section and will do so with a generic "Security Violation" message. And it is very easy to forget passing -Dsbat-distro=auto to meson when creating a fresh build dir. Adding sbat info when shim is not used or secure boot is disabled does not hurt anyone, so default to auto. This still ensures to not add auto-detected info in case we are cross building.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt
index c09a23dc03..1e91bf1fd2 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -417,7 +417,7 @@ option('efi-libdir', type : 'string',
description : 'path to the EFI lib directory')
option('efi-includedir', type : 'string', value : '/usr/include/efi',
description : 'path to the EFI header directory')
-option('sbat-distro', type : 'string',
+option('sbat-distro', type : 'string', value : 'auto',
description : 'SBAT distribution ID, e.g. fedora, or auto for autodetection')
option('sbat-distro-generation', type : 'integer', value : 1,
description : 'SBAT distribution generation')