!84 机器无tpcm相关硬件场景下,修复安装启动失败问题

From: @huangzq6 
Reviewed-by: @HuaxinLuGitee 
Signed-off-by: @HuaxinLuGitee
This commit is contained in:
openeuler-ci-bot 2023-03-08 16:03:22 +00:00 committed by Gitee
commit f84b6c91f9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 2 deletions

View File

@ -338,7 +338,7 @@ index 0000000..358fe6d
+ efi_status = LibLocateProtocol(&gIpmiInterfaceProtocolGuid,
+ (VOID **) &tpcm_ipmi);
+ if (EFI_ERROR(efi_status))
+ return efi_status;
+ return EFI_SUCCESS; // support no tpcm scenes
+ if (!tpcm_ipmi) {
+ console_print(L"Error: tpcm_ipmi is NULL");
+ return EFI_INVALID_PARAMETER;

View File

@ -22,7 +22,7 @@
Name: shim
Version: 15
Release: 27
Release: 28
Summary: First-stage UEFI bootloader
ExclusiveArch: x86_64 aarch64
License: BSD
@ -155,6 +155,9 @@ cd ..
/usr/src/debug/%{name}-%{version}-%{release}/*
%changelog
* Wed Mar 8 2023 huangzq6 <huangzhenqiang2@huawei.com> - 15-28
- support no tpcm scenes temporary
* Wed Mar 1 2023 jinlun <jinlun@huawei.com> - 15-27
- add tpcm support with ipmi channel