From d31a97820373752ef7d4dee290c2d65346866633 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 5908bc7..5ba2eb5 100644 --- a/SPECS/sphere-release.spec +++ b/SPECS/sphere-release.spec @@ -8,7 +8,7 @@ Name: sphere-release Version: %{major}.%{minor} -Release: 0.4%{?dist}.3 +Release: 0.4%{?dist}.4 Summary: %{distro} release files License: GPLv2 URL: https://msvsphere-os.ru @@ -487,6 +487,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 @@ -497,6 +503,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/ @@ -640,6 +656,9 @@ fi %changelog +* Mon Oct 28 2024 Arkady L. Shane - 9.5-0.4.4 +- Added aarch64 support + * Mon Oct 21 2024 Arkady L. Shane - 9.5-0.4.3 - Use stable version but beta repos