Fix CONFIG_CRYPTO_FIPS_NAME

This commit is contained in:
Andrew Lukoshko 2022-11-15 12:24:19 +00:00
parent d4a504c5a9
commit ca610f0c4d

View File

@ -1441,7 +1441,7 @@ done
# Adjust FIPS module name for RHEL
%if 0%{?rhel}
for i in *.config; do
sed -i 's/CONFIG_CRYPTO_FIPS_NAME=.*/CONFIG_CRYPTO_FIPS_NAME="Red Hat Enterprise Linux %{rhel} - Kernel Cryptographic API"/' $i
sed -i 's/CONFIG_CRYPTO_FIPS_NAME=.*/CONFIG_CRYPTO_FIPS_NAME="AlmaLinux %{rhel} - Kernel Cryptographic API"/' $i
done
%endif