4.15.15-2 (clr 4.15.15-539) disable CONFIG_MODULE_SIG_FORCE

This commit is contained in:
Josip Ponjavic 2018-04-07 16:05:56 +02:00
parent 20a25b05e7
commit f9b08fb5bb
2 changed files with 10 additions and 7 deletions

View file

@ -1,6 +1,6 @@
pkgbase = linux-clear
pkgver = 4.15.15
pkgrel = 1
pkgrel = 2
url = https://github.com/clearlinux-pkgs/linux
arch = x86_64
license = GPL2
@ -16,7 +16,7 @@ pkgbase = linux-clear
source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.15.tar.sign
source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.15.15.xz
source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.15.15.sign
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=4.15.14-538
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=4.15.15-539
source = https://downloadmirror.intel.com/27591/eng/microcode-20180312.tgz
source = 60-linux.hook
source = 90-linux.hook

View file

@ -5,8 +5,8 @@ pkgbase=linux-clear
__basekernel=4.15
_minor=15
pkgver=${__basekernel}.${_minor}
_clearver=${__basekernel}.14-538
pkgrel=1
_clearver=${__basekernel}.15-539
pkgrel=2
arch=('x86_64')
url="https://github.com/clearlinux-pkgs/linux"
license=('GPL2')
@ -58,6 +58,9 @@ prepare() {
patch -p1 -i "$srcdir/clearlinux/${i}"
done
# disable CONFIG_MODULE_SIG_FORCE
sed -i 's|CONFIG_MODULE_SIG_FORCE=y|# CONFIG_MODULE_SIG_FORCE is not set|' ./.config
if [ "${_kernelname}" != "" ]; then
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config