Call InstallReadyToLock after PlatformBdsConnectConsole and ProcessCapsules in flash update boot mode to fix capsule update failure issue.
CC: Wei, David <david....@intel.com> CC: Yao, Jiewen <jiewen....@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Guo Mang <mang....@intel.com> --- Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c index 3e7cf35..156630e 100644 --- a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c +++ b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c @@ -2001,10 +2001,6 @@ PlatformBdsPolicyBehavior ( case BOOT_ON_FLASH_UPDATE: - // - // Close boot script and install ready to lock - // - InstallReadyToLock(); // // Boot with the specific configuration @@ -2016,6 +2012,10 @@ PlatformBdsPolicyBehavior ( ProcessCapsules (); DEBUG((DEBUG_INFO, "ProcessCapsules Done\n")); + // + // Close boot script and install ready to lock + // + InstallReadyToLock(); BdsLibConnectAll (); -- 2.10.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel