diff options
| author | Ivan Hu <ivan.hu@canonical.com> | 2016-11-22 06:26:01 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2017-02-06 11:16:24 -0500 |
| commit | 07bda58596608f05bfa035a1cc5710f5ac8ea3d9 (patch) | |
| tree | 90772dc65193b7069010888bb32e8cc0bfd24cf8 /tpm.c | |
| parent | 03b9f800b99b2f980e13fbc994d14bd8ec340c41 (diff) | |
| download | efi-boot-shim-07bda58596608f05bfa035a1cc5710f5ac8ea3d9.tar.gz efi-boot-shim-07bda58596608f05bfa035a1cc5710f5ac8ea3d9.zip | |
shim: fix the mirroring MokSBState fail
Some machines have already embedded MokSBStateRT varaible with
EFI_VARIABLE_NON_VOLATILE attribute, and some users might disable shim
vailidation manually by creating MokSBStateRT. It causes mirroring MokSBState
fail because the variable cannot be set with different attribute again, and gets
error massage every time when booting.
Fix it with checking the MokSBStateRT existence and deleting it before
mirroring it.
Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
Diffstat (limited to 'tpm.c')
0 files changed, 0 insertions, 0 deletions
