diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2020-08-13 17:05:29 +0900 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-08-13 22:37:42 +0200 |
commit | f68a6d583578799ec2011476ebd1e10590c6eb3c (patch) | |
tree | 8cb77422a7c168a1b2b3b5481d907df76c7780d6 /test/py/pytest.ini | |
parent | e1174c566a61c863db1b782935269acba00e9281 (diff) |
efi_loader: variable: fix secure state initialization
Under the new file-based variable implementation, the secure state
is always and falsely set to 0 (hence, the secure boot gets disabled)
after the reboot even if PK (and other signature database) has already
been enrolled in the previous boot.
This is because the secure state is set up *before* loading non-volatile
variables' values from saved data.
This patch fixes the order of variable initialization and secure state
initialization.
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Fixes: 5f7dcf079de8 ("efi_loader: UEFI variable persistence")
Diffstat (limited to 'test/py/pytest.ini')
0 files changed, 0 insertions, 0 deletions