backport current sb certs for testing

This commit is contained in:
nazunalika 2022-01-27 12:05:01 -07:00
parent 01c6fd83af
commit a75aa21e98
Signed by: label
GPG Key ID: 6735C0E1BD65D048
5 changed files with 14 additions and 1 deletions

Binary file not shown.

Binary file not shown.

BIN
SOURCES/sb/rockydup1.x509 Normal file

Binary file not shown.

Binary file not shown.

View File

@ -16,7 +16,7 @@
%define distro_code Blue Onyx %define distro_code Blue Onyx
%define major 9 %define major 9
%define minor 0 %define minor 0
%define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.1} %define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.2}
%define rpm_license BSD-3-Clause %define rpm_license BSD-3-Clause
%define dist .el%{major} %define dist .el%{major}
@ -140,6 +140,10 @@ Source1226: Rocky-Plus.repo
Source1300: rocky.1.gz Source1300: rocky.1.gz
# rocky secureboot certs placeholder (1400-1499) # rocky secureboot certs placeholder (1400-1499)
Source1400: sb/rockydup1.x509
Source1401: sb/rockykpatch1.x509
Source1402: sb/rocky-root-ca.der
Source1403: sb/rocky-signing.der
%description %description
%{distro_name} release files. %{distro_name} release files.
@ -276,6 +280,12 @@ install -m 0644 %{SOURCE304} %{buildroot}/%{_prefix}/lib/sysctl.d/
install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/sb-certs/ install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/sb-certs/
install -d -m 0755 %{buildroot}%{_datadir}/pki/sb-certs/ install -d -m 0755 %{buildroot}%{_datadir}/pki/sb-certs/
# Backported certs for now
install -m 0644 %{SOURCE1400} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1401} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1402} %{buildroot}%{_datadir}/pki/sb-certs/
install -m 0644 %{SOURCE1403} %{buildroot}%{_datadir}/pki/sb-certs/
# x86_64 # x86_64
echo "placeholder" > %{buildroot}%{_datadir}/pki/sb-certs/secureboot-ca-x86_64.crt echo "placeholder" > %{buildroot}%{_datadir}/pki/sb-certs/secureboot-ca-x86_64.crt
@ -381,6 +391,9 @@ install -m 0644 %{SOURCE404} %{buildroot}/%{_prefix}/lib/sysctl.d/50-redhat.conf
%{_datadir}/pki/sb-certs/*.crt %{_datadir}/pki/sb-certs/*.crt
%changelog %changelog
* Thu Jan 27 2022 Louis Abel <label@rockylinux.org> - 9.0-1.2
- Backport current SB certs for now
* Mon Jan 10 2022 Louis Abel <label@rockylinux.org> - 9.0-1.1 * Mon Jan 10 2022 Louis Abel <label@rockylinux.org> - 9.0-1.1
- Add LOGO to /etc/os-release - Add LOGO to /etc/os-release