Skip to content

Commit 7eb2537

Browse files
committed
Add where to set uefi variables
Follow up to Slack discussion, the file the variables `UEFI_SIGN_ENABLE` `and UEFI_SIGN_KEYDIR` are set in was mentioned, as well as an admonition mentioning the case where this is not required. QA steps: ran build and checked rendered HTML, ran linter. No issues found. No related ticket, quick fix. Signed-off-by: Katrina Prosise <katrina.prosise@foundries.io>
1 parent 90c27b4 commit 7eb2537

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

source/reference-manual/security/secure-boot-uefi.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The most commonly found modes are:
6161
**Standard Mode**
6262

6363
Signature and hash checks are enforced on boot time executables.
64-
Microsoft KEK and DB certificates usually available.
64+
Microsoft KEK and DB certificates are usually available.
6565
System vendors may include their own KEK and/or DB certificates.
6666

6767
**User/Custom Mode**
@@ -123,7 +123,8 @@ Custom keys can be added to the ``lmp-manifest`` repo directory ``factory-keys/u
123123
Enabling UEFI Secure Boot Usage in LmP
124124
--------------------------------------
125125

126-
The signing process in LmP is controlled by the following Yocto Project variables:
126+
The signing process in LmP is controlled by the following Yocto Project variables,
127+
set in ``meta-subscriber-overrides/conf/machine/include/lmp-factory-custom.inc``:
127128

128129
* ``UEFI_SIGN_KEYDIR``
129130
* Path for the directory containing the DB private key (``DB.key`` and ``DB.crt``),
@@ -132,6 +133,12 @@ The signing process in LmP is controlled by the following Yocto Project variable
132133
* ``UEFI_SIGN_ENABLE``
133134
* If set to ``1`` the systemd-boot bootloader and Linux kernel binaries will be signed by with the DB key (``DB.key`` at ``UEFI_SIGN_KEYDIR``)
134135

136+
137+
.. tip::
138+
139+
Setting these may not be required in cases where they are inherited from ``meta-lmp-bsp``.
140+
This can be seen in ``meta-lmp/meta-lmp-bsp/conf/machine/include/lmp-machine-custom.inc``
141+
135142
.. _ref-secure-boot-uefi-provisioning:
136143

137144
UEFI Secure Boot Provisioning

0 commit comments

Comments
 (0)