Add UEFI SecureBoot Setting related interfaces
Redfish added schema for SecureBoot, which contains UEFI Secure Boot
related information and represents properties for managing the UEFI
Secure Boot functionality of a system. It would be useful to add
remote UEFI secure boot configuration support which provides unified
interface for remote uefi secure boot configuration in data centers,
and provide a generic implementation for the remote management of
uefi secure boot.
Redfish Schema -
https://redfish.dmtf.org/schemas/v1/SecureBoot.v1_1_2.json
BIOSConfig.SecureBoot exposes three properties:
1) Enable: An indication of whether UEFI Secure Boot is enabled.
2) Current Boot: An indication of UEFI Secure Boot state during the
current boot cycle
3) Mode: Indicates the current UEFI Secure Boot mode, as defined in
the UEFI Specification.
Change-Id: I1a345c2efcdd42be9920b509649621157b88775a
Signed-off-by: Prithvi Pai <ppai@nvidia.com>
diff --git a/gen/xyz/openbmc_project/BIOSConfig/meson.build b/gen/xyz/openbmc_project/BIOSConfig/meson.build
index 6dc0d2a..f15b7d1 100644
--- a/gen/xyz/openbmc_project/BIOSConfig/meson.build
+++ b/gen/xyz/openbmc_project/BIOSConfig/meson.build
@@ -2,6 +2,7 @@
subdir('Common')
subdir('Manager')
subdir('Password')
+subdir('SecureBoot')
sdbusplus_current_path = 'xyz/openbmc_project/BIOSConfig'
@@ -77,3 +78,27 @@
build_by_default: should_generate_markdown,
)
+generated_markdown += custom_target(
+ 'xyz/openbmc_project/BIOSConfig/SecureBoot__markdown'.underscorify(),
+ input: [
+ '../../../../yaml/xyz/openbmc_project/BIOSConfig/SecureBoot.interface.yaml',
+ ],
+ output: ['SecureBoot.md'],
+ depend_files: sdbusplusplus_depfiles,
+ command: [
+ sdbuspp_gen_meson_prog,
+ '--command',
+ 'markdown',
+ '--output',
+ meson.current_build_dir(),
+ '--tool',
+ sdbusplusplus_prog,
+ '--directory',
+ meson.current_source_dir() / '../../../../yaml',
+ 'xyz/openbmc_project/BIOSConfig/SecureBoot',
+ ],
+ install: should_generate_markdown,
+ install_dir: [inst_markdown_dir / sdbusplus_current_path],
+ build_by_default: should_generate_markdown,
+)
+