From aa6f508e99e3bc7527ed78d7563196af1346d72b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 18 Aug 2016 15:57:26 +0200 Subject: [PATCH] linux4.7: disable stripping of ksyms (#4640) Disable the config setting CONFIG_TRIM_UNUSED_KSYMS, or otherwise the kernel won't export symbols which are required to make dkms modules built for virtualbox-ose (probably others) load. --- srcpkgs/linux4.7/files/i386-dotconfig | 2 +- srcpkgs/linux4.7/files/x86_64-dotconfig | 2 +- srcpkgs/linux4.7/template | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/linux4.7/files/i386-dotconfig b/srcpkgs/linux4.7/files/i386-dotconfig index 32d04a61fa7..1c3fb7ce69e 100644 --- a/srcpkgs/linux4.7/files/i386-dotconfig +++ b/srcpkgs/linux4.7/files/i386-dotconfig @@ -312,7 +312,7 @@ CONFIG_MODULE_FORCE_UNLOAD=y # CONFIG_MODULE_SRCVERSION_ALL is not set # CONFIG_MODULE_SIG is not set # CONFIG_MODULE_COMPRESS is not set -CONFIG_TRIM_UNUSED_KSYMS=y +# CONFIG_TRIM_UNUSED_KSYMS is not set CONFIG_MODULES_TREE_LOOKUP=y CONFIG_BLOCK=y CONFIG_LBDAF=y diff --git a/srcpkgs/linux4.7/files/x86_64-dotconfig b/srcpkgs/linux4.7/files/x86_64-dotconfig index 46ce59d221b..0198a57b30f 100644 --- a/srcpkgs/linux4.7/files/x86_64-dotconfig +++ b/srcpkgs/linux4.7/files/x86_64-dotconfig @@ -331,7 +331,7 @@ CONFIG_MODULE_FORCE_UNLOAD=y # CONFIG_MODULE_SRCVERSION_ALL is not set # CONFIG_MODULE_SIG is not set # CONFIG_MODULE_COMPRESS is not set -CONFIG_TRIM_UNUSED_KSYMS=y +# CONFIG_TRIM_UNUSED_KSYMS is not set CONFIG_MODULES_TREE_LOOKUP=y CONFIG_BLOCK=y CONFIG_BLK_DEV_BSG=y diff --git a/srcpkgs/linux4.7/template b/srcpkgs/linux4.7/template index 395d4dafaee..08f233db008 100644 --- a/srcpkgs/linux4.7/template +++ b/srcpkgs/linux4.7/template @@ -1,7 +1,7 @@ # Template file for 'linux4.7' pkgname=linux4.7 version=4.7.1 -revision=1 +revision=2 wrksrc="linux-${version}" maintainer="Juan RP " homepage="http://www.kernel.org"