Mix non-GOST RSA keys with GOST buildtime key in the kernel keyring

This commit is contained in:
Mikhail Novosyolov 2020-03-15 14:55:26 +03:00
parent 582758eb22
commit 89974eea5f

View file

@ -11,7 +11,7 @@
%define sublevel 25
# Release number. Increase this before a rebuild.
%define rpmrel 3
%define rpmrel 4
%define fullrpmrel %{rpmrel}
%define rpmtag %{disttag}
@ -1022,8 +1022,8 @@ sed -i %{src_dir}/scripts/Makefile \
%if %{with additional_keys}
# Add additional public keys to the list of trusted keys for kernel modules
# Build kernel --without additional_keys if you do not want to trust them
##cat %{expand:%(for i in `seq 1 12`; do echo "%%SOURCE$((200+${i}))" | tr "\n" " "; done)} \
## >> "%{certs_public_keys}"
cat %{expand:%(for i in `seq 1 12`; do echo "%%SOURCE$((200+${i}))" | tr "\n" " "; done)} \
>> "%{certs_public_keys}"
%endif #endif additional_keys
cat %{certs_public_keys}
%endif #endif enhanced_security