4.15.15-2 (clr 4.15.15-539) disable CONFIG_MODULE_SIG_FORCE
This commit is contained in:
parent
20a25b05e7
commit
f9b08fb5bb
2 changed files with 10 additions and 7 deletions
4
.SRCINFO
4
.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
|
||||
|
|
13
PKGBUILD
13
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
|
||||
|
|
Loading…
Reference in a new issue