This commit is contained in:
Sergey Zhemoytel 2024-02-22 21:24:40 +00:00
parent 7486c665b6
commit be1d7791ca
2 changed files with 7 additions and 0 deletions

5
kernel-config.append Normal file
View file

@ -0,0 +1,5 @@
CONFIG_MODULE_SIG_FORCE=n
CONFIG_MODULE_SIG_KEY="certs/signing_key_priv.key"
CONFIG_SYSTEM_TRUSTED_KEYS="certs/public.pem"
CONFIG_INIT_ON_ALLOC_DEFAULT_ON=n
CONFIG_INIT_ON_FREE_DEFAULT_ON=n

View file

@ -294,6 +294,7 @@ Source53: cpupower.path
Source80: kernel.rpmlintrc
Source90: kernel-config.append
# Additional keys that can be used to sign kernel modules
# Generated by https://abf.io/soft/kernel-keys
# Source201..206: public_key_GOST_*.pem
@ -1130,6 +1131,7 @@ This package does nothing, just owns a directory for third-party binary kernel m
################################################
%prep
install -Dm0644 %{SOURCE90} .config.append
# Avoid accidental merge
%if 0%{?rpm5}
#{error:Package structure is for dnf, not for urpmi!}