mirror of https://github.com/acidanthera/audk.git
Reset the platform when user choose to enroll/delete the PK variable.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Dong Guo <guo.dong@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13515 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
25a4e71aa6
commit
0fb450fb3e
|
@ -158,7 +158,7 @@ formset
|
||||||
questionid = KEY_SECURE_BOOT_DELETE_PK,
|
questionid = KEY_SECURE_BOOT_DELETE_PK,
|
||||||
prompt = STRING_TOKEN(STR_DELETE_PK),
|
prompt = STRING_TOKEN(STR_DELETE_PK),
|
||||||
help = STRING_TOKEN(STR_DELETE_PK_HELP),
|
help = STRING_TOKEN(STR_DELETE_PK_HELP),
|
||||||
flags = INTERACTIVE,
|
flags = INTERACTIVE | RESET_REQUIRED,
|
||||||
endcheckbox;
|
endcheckbox;
|
||||||
endif;
|
endif;
|
||||||
endform;
|
endform;
|
||||||
|
|
|
@ -2517,7 +2517,7 @@ SecureBootCallback (
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_EXIT;
|
*ActionRequest = EFI_BROWSER_ACTION_REQUEST_RESET;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue