prepare spec for sb update

This commit is contained in:
Louis Abel 2024-04-03 10:58:28 -07:00
parent c667dc2d34
commit 72cf1f8fef
Signed by: label
GPG Key ID: 2A6975660E424560
3 changed files with 32 additions and 21 deletions

Binary file not shown.

Binary file not shown.

View File

@ -21,8 +21,8 @@
%define distro_code Green Obsidian %define distro_code Green Obsidian
%define major 8 %define major 8
%define minor 10 %define minor 10
%define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.6} %define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.7}
%define upstream_rel %{major}.%{minor}-0.1 %define upstream_rel %{major}.%{minor}-0.2
%define rpm_license BSD-3-Clause %define rpm_license BSD-3-Clause
%define dist .el%{major} %define dist .el%{major}
%define home_url https://rockylinux.org/ %define home_url https://rockylinux.org/
@ -153,19 +153,25 @@ Source1223: Rocky-Devel.repo
Source1226: Rocky-Plus.repo Source1226: Rocky-Plus.repo
Source1300: rocky.1.gz Source1300: rocky.1.gz
# rocky secureboot certs placeholder (1400-1499) # 1400 is the root
Source1400: rockydup1.x509 # 1401-1420 are dedicated to the kernel
Source1401: rockykpatch1.x509 # 1421-1440 is dedicated to x86_64
Source1402: rocky-root-ca.der # 1441-1460 is dedicated to aarch64
# Source1400: rocky-root-ca.der
Source1403: rocky-fwupd.cer Source1401: rockydup1.x509
Source1404: rocky-grub2.cer Source1402: rockykpatch1.x509
Source1405: rocky-kernel.cer Source1403: rockydup1-aarch64.x509
Source1406: rocky-shim.cer Source1404: rockykpatch1-aarch64.x509
Source1408: rocky-fwupd-aarch64.cer # x86_64
Source1409: rocky-grub2-aarch64.cer Source1421: rocky-fwupd.cer
Source1410: rocky-kernel-aarch64.cer Source1422: rocky-grub2.cer
Source1411: rocky-shim-aarch64.cer Source1423: rocky-kernel.cer
Source1424: rocky-shim.cer
# aarch64
Source1441: rocky-fwupd-aarch64.cer
Source1442: rocky-grub2-aarch64.cer
Source1443: rocky-kernel-aarch64.cer
Source1444: rocky-shim-aarch64.cer
%description %description
%{distro_name} release files. %{distro_name} release files.
@ -307,12 +313,14 @@ install -m 0644 %{SOURCE1401} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1402} %{buildroot}%{_datadir}/pki/sb-certs/ install -m 0644 %{SOURCE1402} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1403} %{buildroot}%{_datadir}/pki/sb-certs/ install -m 0644 %{SOURCE1403} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1404} %{buildroot}%{_datadir}/pki/sb-certs/ install -m 0644 %{SOURCE1404} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1405} %{buildroot}%{_datadir}/pki/sb-certs/ install -m 0644 %{SOURCE1421} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1406} %{buildroot}%{_datadir}/pki/sb-certs/ install -m 0644 %{SOURCE1422} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1408} %{buildroot}%{_datadir}/pki/sb-certs/ install -m 0644 %{SOURCE1423} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1409} %{buildroot}%{_datadir}/pki/sb-certs/ install -m 0644 %{SOURCE1424} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1410} %{buildroot}%{_datadir}/pki/sb-certs/ install -m 0644 %{SOURCE1441} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1411} %{buildroot}%{_datadir}/pki/sb-certs/ install -m 0644 %{SOURCE1442} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1443} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1444} %{buildroot}%{_datadir}/pki/sb-certs/
# Placeholders # Placeholders
@ -428,6 +436,9 @@ ln -sr %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-rockytesting \
%{_datadir}/pki/sb-certs/* %{_datadir}/pki/sb-certs/*
%changelog %changelog
* Wed Apr 03 2024 Louis Abel <label@rockylinux.org> - 8.10-1.7
- Update SB certs
* Fri Feb 09 2024 Louis Abel <label@rockylinux.org> - 8.10-1.6 * Fri Feb 09 2024 Louis Abel <label@rockylinux.org> - 8.10-1.6
- Symlink rockyofficial and rockytesting keys - Symlink rockyofficial and rockytesting keys