From b8f17298a4472079d73a23f6fdaa37edb7a329e0 Mon Sep 17 00:00:00 2001 From: "kelpee (Sergey)" Date: Sat, 18 Apr 2020 08:43:15 +0300 Subject: [PATCH] Updated to 5.6.4-xanmod1 --- kernel.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kernel.spec b/kernel.spec index 7bc24cc..cdcb95c 100644 --- a/kernel.spec +++ b/kernel.spec @@ -706,6 +706,13 @@ echo "Creating the kernel configuration file." # Configs cp %{SOURCE110} .config +# Disable CONFIG_MODULE_SIG_KEY +echo 'CONFIG_MODULE_SIG_KEY=""' >> .config + +# Disable Kernel module signing +sed -i 's/CONFIG_MODULE_SIG_ALL=y/# CONFIG_MODULE_SIG_ALL is not set/' .config +sed -i 's/CONFIG_MODULE_SIG=y/# CONFIG_MODULE_SIG is not set/' .config + # Disable ASLR for 32-bit systems because it does not play well with # hibernate. %ifarch %{ix86}