linux59-tkg: 5.9.1

Should fix https://github.com/Frogging-Family/linux-tkg/issues/48
This commit is contained in:
Tk-Glitch 2020-10-17 13:12:54 +02:00
parent 0e4d9045d1
commit 5c57ad3792
2 changed files with 6 additions and 5 deletions

View File

@ -45,7 +45,7 @@ else
fi
pkgname=("${pkgbase}" "${pkgbase}-headers")
pkgver="${_basekernel}"."${_sub}"
pkgrel=3
pkgrel=4
pkgdesc='Linux-tkg'
arch=('x86_64') # no i686 in here
url="http://www.kernel.org/"
@ -54,7 +54,7 @@ makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'libelf' 'pahole' 'pa
optdepends=('schedtool')
options=('!strip' 'docs')
source=("https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.xz"
#"https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-${pkgver}.xz"
"https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-${pkgver}.xz"
"https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v5.8%2B.patch"
'config.x86_64' # stock Arch config
#'config_hardened.x86_64' # hardened Arch config
@ -84,6 +84,7 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.x
0012-misc-additions.patch
)
sha256sums=('3239a4ee1250bf2048be988cc8cb46c487b2c8a0de5b1b032d38394d5c6b1a06'
'7edb7b9d06b02f9b88d868c74ab618baf899c94edb19a73291f640dbea55c312'
'5ab29eb64e57df83b395a29a6a4f89030d142feffbfbf73b3afc6d97a2a7fd12'
'ca84d1966bf13570768a65015ddcbde198d866d2a5a44df21a581ed57860b887'
'1e15fc2ef3fa770217ecc63a220e5df2ddbcf3295eb4a021171e7edd4c6cc898'

View File

@ -2,7 +2,7 @@
_basever=59
_basekernel=5.9
_sub=0
_sub=1
_tkg_initscript() {
@ -122,8 +122,8 @@ _tkg_srcprep() {
echo "" > localversion.20-pkgname
# add upstream patch
#msg2 "Patching from $_basekernel to $pkgver"
#patch -p1 -i "$srcdir"/patch-"${pkgver}"
msg2 "Patching from $_basekernel to $pkgver"
patch -p1 -i "$srcdir"/patch-"${pkgver}"
# ARCH Patches
if [ "${_configfile}" = "config_hardened.x86_64" ] && [ "${_cpusched}" = "cfs" ]; then