Fix ppc64le signing
This commit is contained in:
parent
387100185b
commit
fffef0593f
@ -1155,7 +1155,7 @@ done
|
||||
# openssl x509 -inform der -in %{SOURCE101} -out rhelkpatch1.pem
|
||||
# cat rheldup3.pem rhelkpatch1.pem > ../certs/rhel.pem
|
||||
%ifarch ppc64le
|
||||
openssl x509 -inform der -in %{secureboot_ca_2} -out secureboot.pem
|
||||
openssl x509 -inform der -in %{secureboot_ca_0} -out secureboot.pem
|
||||
cat secureboot.pem >> ../certs/rhel.pem
|
||||
%endif
|
||||
for i in *.config; do
|
||||
@ -1732,7 +1732,7 @@ BuildKernel() {
|
||||
ln -s kernel-signing-ca-20210114.cer $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/kernel-signing-ca.cer
|
||||
%else
|
||||
%ifarch ppc64le
|
||||
install -m 0644 %{secureboot_ca_2} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/kernel-signing-ca.cer
|
||||
install -m 0644 %{secureboot_ca_0} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/kernel-signing-ca.cer
|
||||
%else
|
||||
install -m 0644 %{secureboot_ca_0} $RPM_BUILD_ROOT%{_datadir}/doc/kernel-keys/$KernelVer/kernel-signing-ca.cer
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user