forked from JeremyStarTM/aur-linux-clear
4.17.3-2 (clr 4.17.3-589)
This commit is contained in:
parent
5b2d8f87d7
commit
49e4f3efc4
2 changed files with 6 additions and 9 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = linux-clear
|
pkgbase = linux-clear
|
||||||
pkgver = 4.17.3
|
pkgver = 4.17.3
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/clearlinux-pkgs/linux
|
url = https://github.com/clearlinux-pkgs/linux
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL2
|
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/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.xz
|
||||||
source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.17.3.sign
|
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 = 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 = enable_additional_cpu_optimizations-20180509.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20180509.tar.gz
|
||||||
source = 60-linux.hook
|
source = 60-linux.hook
|
||||||
|
|
11
PKGBUILD
11
PKGBUILD
|
@ -67,9 +67,9 @@ pkgbase=linux-clear
|
||||||
__basekernel=4.17
|
__basekernel=4.17
|
||||||
_minor=3
|
_minor=3
|
||||||
pkgver=${__basekernel}.${_minor}
|
pkgver=${__basekernel}.${_minor}
|
||||||
#_clearver=${__basekernel}.2-586
|
#_clearver=${__basekernel}.3-589
|
||||||
_clearver=0f69acc6f23759737119b08ce89e206b04c900b2
|
_clearver=309d2eb702410c884da0a2496454aaf8f18202cc
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/clearlinux-pkgs/linux"
|
url="https://github.com/clearlinux-pkgs/linux"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
|
@ -114,7 +114,7 @@ prepare() {
|
||||||
patch -p1 -i ../patch-${pkgver}
|
patch -p1 -i ../patch-${pkgver}
|
||||||
|
|
||||||
# Apply clearlinux patches
|
# 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}"
|
msg "Applying ${i}"
|
||||||
patch -p1 -i "$srcdir/clearlinux/${i}"
|
patch -p1 -i "$srcdir/clearlinux/${i}"
|
||||||
done
|
done
|
||||||
|
@ -147,9 +147,6 @@ prepare() {
|
||||||
# https://bugs.archlinux.org/task/55880
|
# https://bugs.archlinux.org/task/55880
|
||||||
sed -i "s|# CONFIG_CRYPTO_USER is not set|CONFIG_CRYPTO_USER=m|g" ./.config
|
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
|
# don't run depmod on 'make install'. We'll do this ourselves in packaging
|
||||||
sed -i '2iexit 0' scripts/depmod.sh
|
sed -i '2iexit 0' scripts/depmod.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue