From 324804a685fe5e35ac1edd8e5174dbfea038ee79 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 28 Oct 2024 15:02:27 +0300 Subject: [PATCH] Added aarch64 support --- SPECS/sphere-release.spec | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/SPECS/sphere-release.spec b/SPECS/sphere-release.spec index f3a2760..bbdc05f 100644 --- a/SPECS/sphere-release.spec +++ b/SPECS/sphere-release.spec @@ -6,7 +6,7 @@ Name: sphere-release Version: %{major}.%{minor} -Release: 2%{?dist} +Release: 2%{?dist}.1 Summary: %{distro} release files License: GPLv2 URL: https://msvsphere-os.ru @@ -424,6 +424,12 @@ install -m 644 %{SOURCE401} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-kern install -m 644 %{SOURCE402} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-grub2-x86_64.cer install -m 644 %{SOURCE403} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-fwupd-x86_64.cer +# install aarch64 secureboot certificates +install -m 644 %{SOURCE400} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-ca-aarch64.cer +install -m 644 %{SOURCE401} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-kernel-aarch64.cer +install -m 644 %{SOURCE402} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-grub2-aarch64.cer +install -m 644 %{SOURCE403} %{buildroot}%{_datadir}/pki/sb-certs/secureboot-fwupd-aarch64.cer + # link x86_64 secureboot certificates ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-ca-x86_64.cer \ %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-ca-x86_64.cer @@ -434,6 +440,16 @@ ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-grub2-x86_64.cer \ ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-fwupd-x86_64.cer \ %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-fwupd-x86_64.cer +# link aarch64 secureboot certificates +ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-ca-aarch64.cer \ + %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-ca-aarch64.cer +ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-kernel-aarch64.cer \ + %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-kernel-aarch64.cer +ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-grub2-aarch64.cer \ + %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-grub2-aarch64.cer +ln -sr %{buildroot}%{_datadir}/pki/sb-certs/secureboot-fwupd-aarch64.cer \ + %{buildroot}%{_sysconfdir}/pki/sb-certs/secureboot-fwupd-aarch64.cer + # copy DNF repositories install -d -m 0755 %{buildroot}%{_sysconfdir}/yum.repos.d install -p -m 0644 %{SOURCE500} %{buildroot}%{_sysconfdir}/yum.repos.d/ @@ -559,6 +575,9 @@ fi %changelog +* Mon Oct 28 2024 Arkady L. Shane - 9.4-2.1 +- Added aarch64 support + * Thu Aug 08 2024 Arkady L. Shane - 9.4-2 - Fix debuginfo repos