summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2019-05-25 15:27:52 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2019-05-25 15:27:52 -0700
commita55ea01471e5bf685c851c35229fb4fca8b3fafb (patch)
tree8afe43dab15afb000c79ffe7849ba2f3bfbdfeee /PKGBUILD
parentAdd 0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch (diff)
downloadlinux-a55ea01471e5bf685c851c35229fb4fca8b3fafb.tar.xz
Reorganized patches
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9511bde..24999d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,8 @@
# # I maintain this because:
# Arch version patch script does not apply consistently
-# Arch version lacks ath9k, bdver2, greysky2, and raid6 patches
+# Arch version lacks graysky gcc patch with bdver2 fix
+# Arch version lacks ath9k regdom and raid6 algo patches
# Arch version allows SEED, SM3, SM4, and Streebog
# Arch version is 300 Hz
# Arch version supports Intel ME
@@ -34,8 +35,8 @@ options=('!strip')
source=(
https://www.kernel.org/pub/linux/kernel/v5.x/linux-$pkgver.tar.{xz,sign}
0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
+ graysky_bdver2-hotfix.patch
enable_additional_cpu_optimizations-$_gcc_more_v.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/$_gcc_more_v.tar.gz
- bdver2-fix-for-graysky.patch
ath9k-regdom-hack.patch
raid6-default-algo.patch
config.x86_64 # the main kernel config files
@@ -46,8 +47,8 @@ source=(
sha256sums=('d79f90f5ca97befbfee4e247204b2ac4f45e7bb03d63a79184bc748cf3cf6ddb'
'SKIP'
'91fafa76bf9cb32159ac7f22191b3589278b91e65bc4505cf2fc6013b8037bf3'
+ '229e063a578db0a278108f37b24da20c2a2a18d825e98a67e426cb0f4b492e4a'
'226e30068ea0fecdb22f337391385701996bfbdba37cdcf0f1dbf55f1080542d'
- 'd35338c92d0dbf27ffedaf100bd852dd13fd9b5d49b12a10b91194a2ae654447'
'e7ebf050c22bcec0028c0b3c79fd6d3913b0370ecc6a23dfe78ce475630cf503'
'0f81d6e4158b7beeb0eb514f1b9401f7e23699cb0f7b0d513e25dae1815daaeb'
'8ecfdf3c165289a328cca66230a36c58b88a200e58f799c7f2c89da5b35a52ba'
@@ -74,13 +75,15 @@ prepare() {
msg2 "Applying hotfixes"
patch -p1 -i ../0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
- # graysky2 gcc patch
- msg2 "Applying graysky2 cpu patch"
+
+ # graysky gcc hotfixes
+ msg2 "Applying graysky gcc patch hotfixes"
+ patch -p1 -i ../graysky_bdver2-hotfix.patch "$srcdir/kernel_gcc_patch-${_gcc_more_v}/enable_additional_cpu_optimizations_for_gcc_v8.1+_kernel_v4.13+.patch"
+
+ # graysky gcc patch
+ msg2 "Applying graysky cpu patch"
patch -p1 -i ../kernel_gcc_patch-${_gcc_more_v}/enable_additional_cpu_optimizations_for_gcc_v8.1+_kernel_v4.13+.patch
- # Fix stack warnings and ldconfig segfaults on bdver2 with graysky2 gcc patch
- msg2 "Applying bdver2 fix for graysky2 cpu patch"
- patch -p1 -i ../bdver2-fix-for-graysky.patch
# Ignore ath9k eeprom patch
msg2 "Applying ath9k patch"