From d4a504c5a9d992a7d552474f88bd164dca341b7b Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Tue, 15 Nov 2022 12:22:08 +0000 Subject: [PATCH] Fix module signing keys --- SOURCES/x509.genkey.centos | 6 +++--- SPECS/kernel.spec | 12 ------------ 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/SOURCES/x509.genkey.centos b/SOURCES/x509.genkey.centos index c91af3b..4c34491 100644 --- a/SOURCES/x509.genkey.centos +++ b/SOURCES/x509.genkey.centos @@ -5,9 +5,9 @@ prompt = no x509_extensions = myexts [ req_distinguished_name ] -O = The CentOS Project -CN = CentOS Stream kernel signing key -emailAddress = security@centos.org +O = AlmaLinux +CN = AlmaLinux kernel signing key +emailAddress = security@almalinux.org [ myexts ] basicConstraints=critical,CA:FALSE diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index 030b014..1088667 100755 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -1460,18 +1460,6 @@ done cp %{SOURCE82} . RPM_SOURCE_DIR=$RPM_SOURCE_DIR ./update_scripts.sh %{primary_target} -# We may want to override files from the primary target in case of building -# against a flavour of it (eg. centos not rhel), thus override it here if -# necessary -if [ "%{primary_target}" == "rhel" ]; then -%if 0%{?centos} - echo "Updating scripts/sources to centos version" - RPM_SOURCE_DIR=$RPM_SOURCE_DIR ./update_scripts.sh centos -%else - echo "Not updating scripts/sources to centos version" -%endif -fi - # end of kernel config %endif