forked from JeremyStarTM/aur-linux-clear
5.3.11-2 (clr 5.3.10-867) comment out applied patches, TSX auto
This commit is contained in:
parent
a1d589f046
commit
0927298de5
2 changed files with 6 additions and 5 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = linux-clear
|
pkgbase = linux-clear
|
||||||
pkgdesc = Clear Linux
|
pkgdesc = Clear Linux
|
||||||
pkgver = 5.3.11
|
pkgver = 5.3.11
|
||||||
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://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.3.tar.xz
|
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.3.tar.xz
|
||||||
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.3.tar.sign
|
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.3.tar.sign
|
||||||
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.3.11.xz
|
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.3.11.xz
|
||||||
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=5.3.10-865
|
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=5.3.10-867
|
||||||
source = enable_additional_cpu_optimizations-20190822.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20190822.tar.gz
|
source = enable_additional_cpu_optimizations-20190822.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20190822.tar.gz
|
||||||
source = add-acs-overrides.patch::https://aur.archlinux.org/cgit/aur.git/plain/add-acs-overrides.patch?h=linux-vfio
|
source = add-acs-overrides.patch::https://aur.archlinux.org/cgit/aur.git/plain/add-acs-overrides.patch?h=linux-vfio
|
||||||
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
|
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
|
||||||
|
|
7
PKGBUILD
7
PKGBUILD
|
@ -65,10 +65,10 @@ _enable_acs_override="y"
|
||||||
_major=5.3
|
_major=5.3
|
||||||
_minor=11
|
_minor=11
|
||||||
_srcname=linux-${_major}
|
_srcname=linux-${_major}
|
||||||
_clr=${_major}.10-865
|
_clr=${_major}.10-867
|
||||||
pkgbase=linux-clear
|
pkgbase=linux-clear
|
||||||
pkgver=${_major}.${_minor}
|
pkgver=${_major}.${_minor}
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Clear Linux'
|
pkgdesc='Clear Linux'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/clearlinux-pkgs/linux"
|
url="https://github.com/clearlinux-pkgs/linux"
|
||||||
|
@ -103,6 +103,7 @@ prepare() {
|
||||||
echo "${pkgbase#linux}" > localversion.20-pkgname
|
echo "${pkgbase#linux}" > localversion.20-pkgname
|
||||||
|
|
||||||
### Add Clearlinux patches
|
### Add Clearlinux patches
|
||||||
|
sed -i '35,52 {s/^/#/}' ${srcdir}/clearlinux/linux.spec
|
||||||
for i in $(grep '^Patch' ${srcdir}/clearlinux/linux.spec | grep -Ev '^Patch0123|^Patch0130' | sed -n 's/.*: //p'); do
|
for i in $(grep '^Patch' ${srcdir}/clearlinux/linux.spec | grep -Ev '^Patch0123|^Patch0130' | sed -n 's/.*: //p'); do
|
||||||
msg2 "Applying patch ${i}..."
|
msg2 "Applying patch ${i}..."
|
||||||
patch -Np1 -i "$srcdir/clearlinux/${i}"
|
patch -Np1 -i "$srcdir/clearlinux/${i}"
|
||||||
|
@ -201,7 +202,7 @@ prepare() {
|
||||||
|
|
||||||
### Save configuration for later reuse
|
### Save configuration for later reuse
|
||||||
|
|
||||||
cp -Tf ./.config "${startdir}/config-${pkgver}-${pkgrel}${_kernelname}"
|
cp -Tf ./.config "${startdir}/config-${pkgver}-${pkgrel}${pkgbase#linux}"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
Loading…
Reference in a new issue