add code check in shim

Signed-off-by: jinlun <jinlun@huawei.com>
This commit is contained in:
jinlun 2023-02-11 06:33:39 +00:00 committed by Gitee
parent 86ca9859ae
commit 125001ae88
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -41,7 +41,7 @@ Patch9002:Feature-shim-openssl-add-sm2-and-sm3-support.patch
Patch9003:Feature-shim-cryptlib-support-sm2-signature-verify.patch Patch9003:Feature-shim-cryptlib-support-sm2-signature-verify.patch
Patch9004:Feature-shim-support-sm2-and-sm3-algorithm.patch Patch9004:Feature-shim-support-sm2-and-sm3-algorithm.patch
BuildRequires: elfutils-libelf-devel openssl-devel openssl git pesign gnu-efi gnu-efi-devel gcc BuildRequires: elfutils-libelf-devel openssl-devel openssl git pesign gnu-efi gnu-efi-devel gcc vim-common efivar-devel
%ifarch aarch64 %ifarch aarch64
BuildRequires: binutils >= 2.37-7 BuildRequires: binutils >= 2.37-7
%endif %endif
@ -133,6 +133,9 @@ install -m 644 shim%{efi_arch}.efi.debug ${RPM_BUILD_ROOT}/usr/lib/debug/%{shime
cd .. cd ..
%check
make test
%files %files
%license COPYRIGHT %license COPYRIGHT
%{shimBOOT}/fb%{efi_arch}.efi %{shimBOOT}/fb%{efi_arch}.efi
@ -153,6 +156,9 @@ cd ..
/usr/src/debug/%{name}-%{version}-%{release}/* /usr/src/debug/%{name}-%{version}-%{release}/*
%changelog %changelog
* Sat Feb 11 2023 jinlun <jinlun@huawei.com> - 15.6-9
- add code check in shim
* Tue Dec 13 2022 jinlun <jinlun@huawei.com> - 15.6-8 * Tue Dec 13 2022 jinlun <jinlun@huawei.com> - 15.6-8
- add edition number - add edition number