fix build for aarch64 SB signing

This commit is contained in:
Neil Hanlon 2024-02-14 09:56:51 -05:00
parent 021646197c
commit b0c766efdc
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
4 changed files with 40 additions and 2 deletions

View File

@ -17,7 +17,8 @@ go_library(
"data/kvm_stat.logrotate",
"data/mod-denylist.sh",
"data/mod-sign.sh",
"data/rocky-sigkernel.cer",
"data/secureboot-sig-kernel-x86_64.cer",
"data/secureboot-sig-kernel-aarch64.cer",
"data/rockykpatch1.x509",
"data/x509.genkey",
"data/rockydup1.x509",

View File

@ -240,11 +240,18 @@ Source2000: cpupower.service
Source2001: cpupower.config
Source2002: kvm_stat.logrotate
Source3000: rocky-sigkernel.cer
Source3000: secureboot-sig-kernel-x86_64.cer
Source3001: secureboot-sig-kernel-aarch64.cer
%if %{signkernel}
%define secureboot_ca_0 %{_datadir}/pki/sb-certs/secureboot-ca-%{_arch}.cer
%ifarch x86_64
%define secureboot_key_0 %{SOURCE3000}
%endif
%ifarch aarch64
%define secureboot_key_0 %{SOURCE3001}
%endif
%define pesign_name_0 rockybootsigningsigkernelcert
%endif

View File

@ -0,0 +1,30 @@
-----BEGIN CERTIFICATE-----
MIIFNTCCBB2gAwIBAgIBHzANBgkqhkiG9w0BAQsFADCB1DELMAkGA1UEBhMCVVMx
ETAPBgNVBAgMCERlbGF3YXJlMQ4wDAYDVQQHDAVEb3ZlcjEtMCsGA1UECgwkUm9j
a3kgRW50ZXJwcmlzZSBTb2Z0d2FyZSBGb3VuZGF0aW9uMSEwHwYDVQQLDBhSZWxl
YXNlIGVuZ2luZWVyaW5nIHRlYW0xKDAmBgNVBAMMH1JvY2t5IExpbnV4IFNlY3Vy
ZSBCb290IFJvb3QgQ0ExJjAkBgkqhkiG9w0BCQEWF3NlY3VyaXR5QHJvY2t5bGlu
dXgub3JnMB4XDTIzMTAyMDE5Mzc1NVoXDTI0MTAxOTE5Mzc1NVowgewxCzAJBgNV
BAYTAlVTMREwDwYDVQQIDAhEZWxhd2F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