From f9b08fb5bbf29a4266c08ea7669dcc6199e2f11c Mon Sep 17 00:00:00 2001 From: Josip Ponjavic Date: Sat, 7 Apr 2018 16:05:56 +0200 Subject: [PATCH] 4.15.15-2 (clr 4.15.15-539) disable CONFIG_MODULE_SIG_FORCE --- .SRCINFO | 4 ++-- PKGBUILD | 13 ++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 1377eac..975d708 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD index 09c0a0c..96d73d9 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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') @@ -43,10 +43,10 @@ _kernelname=${pkgbase#linux} prepare() { cd linux-${__basekernel} - + # add upstream patch patch -p1 -i ../patch-${pkgver} - + cp -Tf $srcdir/clearlinux/config .config cp -a /usr/lib/firmware/i915 firmware/ cp -a ${srcdir}/intel-ucode firmware/ @@ -57,7 +57,10 @@ prepare() { msg "Applying ${i}" 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