!378 [sync] PR-376: Interface for replacing the EFI signature
From: @openeuler-sync-bot Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
bf503b086b
18
grub2.spec
18
grub2.spec
@ -14,7 +14,7 @@
|
||||
Name: grub2
|
||||
Epoch: 1
|
||||
Version: 2.12
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: Bootloader with support for Linux, Multiboot and more
|
||||
License: GPLv3+
|
||||
URL: http://www.gnu.org/software/grub/
|
||||
@ -42,10 +42,6 @@ BuildRequires: autoconf automake device-mapper-devel freetype-devel git
|
||||
BuildRequires: texinfo gettext-devel dejavu-sans-fonts help2man systemd fuse-devel
|
||||
BuildRequires: libtasn1-devel
|
||||
|
||||
%if 0%{?openEuler_sign_rsa}
|
||||
BuildRequires: sign-openEuler
|
||||
%endif
|
||||
|
||||
%ifarch %{golang_arches}
|
||||
BuildRequires: pesign >= 0.99-8
|
||||
%endif
|
||||
@ -203,8 +199,10 @@ makeinfo --info --no-split -I docs -o docs/grub.info docs/grub.texi
|
||||
makeinfo --html --no-split -I docs -o docs/grub-dev.html docs/grub-dev.texi
|
||||
makeinfo --html --no-split -I docs -o docs/grub.html docs/grub.texi
|
||||
%if 0%{?openEuler_sign_rsa}
|
||||
/opt/sign-openEuler/client --config /opt/sign-openEuler/config.toml add --key-name default-x509ee --file-type efi-image --key-type x509ee --sign-type authenticode %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubefiname}
|
||||
/opt/sign-openEuler/client --config /opt/sign-openEuler/config.toml add --key-name default-x509ee --file-type efi-image --key-type x509ee --sign-type authenticode %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubeficdname}
|
||||
sh /usr/lib/rpm/brp-ebs-sign --efi %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubefiname}
|
||||
sh /usr/lib/rpm/brp-ebs-sign --efi %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubeficdname}
|
||||
mv %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubefiname}.sig %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubefiname}
|
||||
mv %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubeficdname}.sig %{_builddir}/grub-%{version}/grub-%{grubefiarch}-%{tarversion}/%{grubeficdname}
|
||||
%endif
|
||||
|
||||
%check
|
||||
@ -449,6 +447,12 @@ fi
|
||||
%{_datadir}/man/man*
|
||||
|
||||
%changelog
|
||||
* Fri Mar 22 2024 jinlun <jinlun@huawei.com> - 1:2.12-6
|
||||
- Type:requirement
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:Interface for replacing the EFI signature
|
||||
|
||||
* Thu Mar 21 2024 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-5
|
||||
- Type:requirement
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user