4.17.3-2 (clr 4.17.3-589)

This commit is contained in:
Josip Ponjavic 2018-06-30 02:28:00 +02:00
parent 5b2d8f87d7
commit 49e4f3efc4
2 changed files with 6 additions and 9 deletions

View file

@ -1,6 +1,6 @@
pkgbase = linux-clear
pkgver = 4.17.3
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.17.tar.sign
source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.17.3.xz
source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.17.3.sign
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#commit=0f69acc6f23759737119b08ce89e206b04c900b2
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#commit=309d2eb702410c884da0a2496454aaf8f18202cc
source = https://downloadmirror.intel.com/27776/eng/microcode-20180425.tgz
source = enable_additional_cpu_optimizations-20180509.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20180509.tar.gz
source = 60-linux.hook

View file

@ -67,9 +67,9 @@ pkgbase=linux-clear
__basekernel=4.17
_minor=3
pkgver=${__basekernel}.${_minor}
#_clearver=${__basekernel}.2-586
_clearver=0f69acc6f23759737119b08ce89e206b04c900b2
pkgrel=1
#_clearver=${__basekernel}.3-589
_clearver=309d2eb702410c884da0a2496454aaf8f18202cc
pkgrel=2
arch=('x86_64')
url="https://github.com/clearlinux-pkgs/linux"
license=('GPL2')
@ -114,7 +114,7 @@ prepare() {
patch -p1 -i ../patch-${pkgver}
# Apply clearlinux patches
for i in $(grep '^Patch' ${srcdir}/clearlinux/linux.spec | grep -Ev '^Patch0115|^Patch200|^Patch300|^Patch0500' | sed -n 's/.*: //p'); do
for i in $(grep '^Patch' ${srcdir}/clearlinux/linux.spec | grep -Ev '^Patch200|^Patch300|^Patch0500' | sed -n 's/.*: //p'); do
msg "Applying ${i}"
patch -p1 -i "$srcdir/clearlinux/${i}"
done
@ -147,9 +147,6 @@ prepare() {
# https://bugs.archlinux.org/task/55880
sed -i "s|# CONFIG_CRYPTO_USER is not set|CONFIG_CRYPTO_USER=m|g" ./.config
# fix typo in .config
sed -i "s|SQUASHFS_LZ4y|SQUASHFS_LZ4=y|g" ./.config
# don't run depmod on 'make install'. We'll do this ourselves in packaging
sed -i '2iexit 0' scripts/depmod.sh