5.6.15-3 (clr 5.6.15-957)

This commit is contained in:
Josip Ponjavic 2020-05-30 12:55:12 +02:00
parent 404bad3dd3
commit 1bce9546c2
2 changed files with 5 additions and 6 deletions

View file

@ -1,7 +1,7 @@
pkgbase = linux-clear
pkgdesc = Clear Linux
pkgver = 5.6.15
pkgrel = 2
pkgrel = 3
url = https://github.com/clearlinux-pkgs/linux
arch = x86_64
license = GPL2
@ -15,7 +15,7 @@ pkgbase = linux-clear
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.6.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.6.tar.sign
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.6.15.xz
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=5.6.15-956
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=5.6.15-957
source = enable_additional_cpu_optimizations-20200527.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20200527.tar.gz
source = pci-enable-overrides-for-missing-acs-capabilities.patch
source = 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch

View file

@ -70,10 +70,10 @@ _use_current=
_major=5.6
_minor=15
_srcname=linux-${_major}
_clr=${_major}.15-956
_clr=${_major}.15-957
pkgbase=linux-clear
pkgver=${_major}.${_minor}
pkgrel=2
pkgrel=3
pkgdesc='Clear Linux'
arch=('x86_64')
url="https://github.com/clearlinux-pkgs/linux"
@ -109,8 +109,7 @@ prepare() {
echo "${pkgbase#linux}" > localversion.20-pkgname
### Add Clearlinux patches
for i in $(grep '^Patch' ${srcdir}/clearlinux/linux.spec |\
grep -Ev '^Patch0001|^Patch0002|^Patch0007|^Patch0008' | sed -n 's/.*: //p'); do
for i in $(grep '^Patch' ${srcdir}/clearlinux/linux.spec | sed -n 's/.*: //p'); do
echo "Applying patch ${i}..."
patch -Np1 -i "$srcdir/clearlinux/${i}"
done