diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2021-04-27 17:53:53 +0200 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2021-05-07 15:38:48 +0200 |
commit | 9137c03c043c702d0f3d8056cd8fcc4b578a5b43 (patch) | |
tree | 376662c18b3ac45bbdacfab3794e33c1a1cb53e8 /meson_options.txt | |
parent | Merge pull request #19391 from poettering/dissect-grow (diff) | |
download | systemd-9137c03c043c702d0f3d8056cd8fcc4b578a5b43.tar.xz systemd-9137c03c043c702d0f3d8056cd8fcc4b578a5b43.zip |
boot: add optional EFI SBAT support
Add SBAT support, when -Dsbat-distro value is specified. One can use
-Dsbat-distro=auto for autodetection of all sbat options. Many meson configure
options added to customize SBAT CSV values, but sensible defaults are auto
detected by default. SBAT support is required if shim v15+ is used to load
systemd-boot binary or kernel.efi (Type II BootLoaderSpec).
Fixes #19247
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index ad7174cf69..b7f30ce16b 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -370,6 +370,18 @@ option('efi-includedir', type : 'string', value : '/usr/include/efi', description : 'path to the EFI header directory') option('tpm-pcrindex', type : 'integer', value : 8, description : 'TPM PCR register number to use') +option('sbat-distro', type : 'string', + description : 'SBAT distribution ID, e.g. fedora, or auto for autodetection') +option('sbat-distro-generation', type : 'integer', value : 1, + description : 'SBAT distribution generation') +option('sbat-distro-summary', type : 'string', + description : 'SBAT distribution summary, e.g. Fedora') +option('sbat-distro-pkgname', type : 'string', + description : 'SBAT distribution package name, e.g. systemd') +option('sbat-distro-version', type : 'string', + description : 'SBAT distribution package version, e.g. 248-7.fc34') +option('sbat-distro-url', type : 'string', + description : 'SBAT distribution URL, e.g. https://src.fedoraproject.org/rpms/systemd') option('bashcompletiondir', type : 'string', description : 'directory for bash completion scripts ["no" disables]') |