summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD53
1 files changed, 28 insertions, 25 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 972c46b..f3959b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
-# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Maintainer (Arch): Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Aqua-sama <aqua@iserlohn-fortress.net>
# # I maintain this because:
@@ -9,13 +9,13 @@
# Parabola version is 300 Hz
# Parabola version does not disable lockdown eee
# Parabola version does not disable hdcp
-# Parabola version does not disable IME/PSP
+# Parabola version does not disable MEI/PSP
# Parabola version does not disable VMware and HyperV
pkgbase=linux-libre
_supver=5
-_majver=9
-_minver=16
+_majver=10
+_minver=4
_gccpatchver='20201113'
_gccpatchger='10.1'
_gccpatchker='5.8'
@@ -40,15 +40,16 @@ _gnumajver=${_supver}.${_majver}-gnu
_gnupkgver=${pkgver}-gnu
source=(
https://linux-libre.fsfla.org/pub/linux-libre/releases/${_gnumajver}/linux-libre-${_gnumajver}.tar.xz{,.sign}
+ config # the main kernel config file
0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
- 0002-Bluetooth-Fix-LL-PRivacy-BLE-device-fails-to-connect.patch
- 0003-Bluetooth-Fix-attempting-to-set-RPA-timeout-when-unsupported.patch
- 0004-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_special_driver-list.patch
+ 0002-Bluetooth-Fix-attempting-to-set-RPA-timeout-when-unsupported.patch
+ 0003-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_special_driver-list.patch
+ 0004-drm-amd-display-Add-get_dig_frontend-implementation-for-DCEx.patch
+ 0005-btrfs-Fix-500-2000-performance-regression-w-5.10.patch
+ 0006-iwlwifi-Fix-regression-from-UDP-segmentation-support.patch
kernel_gcc_patch-${_gccpatchver}.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/${_gccpatchver}.tar.gz
ath9k-regdom-hack.patch
raid6-default-algo.patch
- config # the main kernel config file
- sphinx-workaround.patch
)
if [ "$_minver" != "0" ]; then
source+=(https://linux-libre.fsfla.org/pub/linux-libre/releases/${_gnupkgver}/patch-${_gnumajver}-${_gnupkgver}.xz{,.sign})
@@ -56,18 +57,19 @@ source=(
validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
)
-b2sums=('30280a22cba46ea899ad6dcd8093630f51684a111759e87db1bf857398cb861c37581734a8ac8b2b083ea477429e47e8b47b0d5a1cb648b9a9f17ec4abf91e17'
+b2sums=('86103699a6bc906e85429430df098b0ddb7cfc8c887f98b37f994498388d634554e119eadb1b15f591bdf4f463e7efb7420e3e370af0029b7ed9e988a5f26b01'
'SKIP'
- 'c1e9177debee553e03873dff9293e7a21a53297fc4b3df8b9f54a8839cf1c7d6803945fc7d64676fe8c04cb54ef331b59c4348fbc9915060162177be503d9e96'
- '647c9a8580f3f716e39e0bc086acff1fc34d3592011c931c8e00259c395cdd7fff94d71b963cd87850b8e0f67dd31b719ce4f1cc855e553e42a5694ff6bd53dc'
- '6729b31b33dc2dc8ee6222ae3782d31bd567e002ee9655f7453ec80c6deda247153b59b9c71f0c60095e491165ab1c8c7bdbff5cc538e9ea920bec889870edec'
- '5561976e7521ddf13d3682d7c25658a29b33e5065a01ca7909605cb1a9f479ebe39f9fb8057eb430c73dcac1b8f815273017465b63a8cbae933c9c85d700ec17'
+ '98d5d9bb59f0d70326222856ff7535732acf7f91e3452bb1ba9b9b81b9b3ce557e29bcb8cf0d17e167617cbb31da61710b0bc8a6bfc185c842624cd50deb5973'
+ '2f9195675270d79d735a3aaec25887c2f80b76eae98be8fcc5fd59ab71d925c5ee20ec5e2a015deb68b61bc2cc7f56f546a22cb96ee038e2e24c2c9dd5c3f79f'
+ '92b212fc863b86e795ce4b122372ebe7feae04e31a39b7edcf9f7f25552f936ad1de4b2c7a226feab9d61868a8590550c39c2bd893f4bdabc62a750fab9cc391'
+ 'd8297e09f552a2d6bb24c2ba10481fd2b407057f3b24278e72a89233473460d339c83838791989773623178b5af80588fb4c484da2931f1040e313cce7ceca00'
+ '67735bed50180fc9145ea5fb59f8b404eb71d3a356378eddf04cdc29be0f0031d4666bcb2f2e70de3775f3c1859f9e550f083178fb9d6bea8b437d9f0f12c53f'
+ 'b00c189e803e9469cece5906af28f086b10cfb228eec694b95a47625ecbd345a443609349f4fda5b340ef5e9834a41c5cae60400cf8fbdd1c23b6cb24e17dbe3'
+ '15d9b32ff1ad4c897b097173de259cdb89bbbf6ab0230faf4557eca511a59c1f2c76b85be30d25cf9534f91e1af43e72d072bc82dbf2219eadf772822f573d38'
'7f1eb5938472f57748216bd00e0c875feab99fc1c5cb89babfea467ee30ca5c8e9fc5a691efe2e602bef1ea79820c5383822d7cec354b48d23321ccda8ee8127'
'b6ef77035611139fa9a6d5b8d30570e2781bb4da483bb569884b0bd0129b62e0b82a5a6776fefe43fee801c70d39de1ea4d4c177f7cedd5ac135e3c64f7b895a'
'fde132f3705d908e6f2147c78a2193289916d72304ca5efa2229d79fc3e57a857314ce94e71425caef2f7f7b6cf87f05ef86335dc8bd4be78e7035afe608005a'
- '02f698a9592e3733833af9924cd80d616a05cdf8a4a8931eb99e626efac8cc7fd6a0d017cdc5b051b4850980cd0b8b229baeb596c66f3ff1b0f252ed6d6e102b'
- 'b4e1377d97ad7e8144d6e55b6d43731e3271a5aec65b65ca6d81026a95f15f549b9303fb3c6f492099ca691e3f65f4cf7f0c3aa742df03b396d7f6d81813aa95'
- '83ac7a968cd01c60032de99dff7407d4127b8ce49421943c2f739603bb635189f2011318fd9f5604aa91338b90f00f47013b89bcaab93e61fe67524803f67b9e'
+ 'd72f8660c1233e82a47d6eef9fc0b9cd69366fef7d27bcd8f308f1ece1652717e202a7e531ce8a660e315f7f4d2540c163f65b7c766cba2e8a24971058ec7fc7'
'SKIP')
export KBUILD_BUILD_HOST=arc4linux
@@ -87,14 +89,15 @@ prepare() {
# Hotfixes
echo "Applying hotfixes"
patch -p1 -i ../0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
- patch -p1 -i ../0002-Bluetooth-Fix-LL-PRivacy-BLE-device-fails-to-connect.patch
- patch -p1 -i ../0003-Bluetooth-Fix-attempting-to-set-RPA-timeout-when-unsupported.patch
- patch -p1 -i ../0004-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_special_driver-list.patch
- patch -p1 -i ../sphinx-workaround.patch
+ patch -p1 -i ../0002-Bluetooth-Fix-attempting-to-set-RPA-timeout-when-unsupported.patch
+ patch -p1 -i ../0003-HID-quirks-Add-Apple-Magic-Trackpad-2-to-hid_have_special_driver-list.patch
+ patch -p1 -i ../0004-drm-amd-display-Add-get_dig_frontend-implementation-for-DCEx.patch
+ patch -p1 -i ../0005-btrfs-Fix-500-2000-performance-regression-w-5.10.patch
+ patch -p1 -i ../0006-iwlwifi-Fix-regression-from-UDP-segmentation-support.patch
# graysky gcc patch
- echo "Applying graysky cpu patch"
+ echo "Applying graysky gcc patch"
patch -p1 -i ../kernel_gcc_patch-${_gccpatchver}/enable_additional_cpu_optimizations_for_gcc_v${_gccpatchger}+_kernel_v${_gccpatchker}+.patch
@@ -193,7 +196,7 @@ _package-headers() {
localversion.* version vmlinux
install -Dt "$builddir/kernel" -m644 kernel/Makefile
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
- cp --reflink -t "$builddir" -a scripts
+ cp -t "$builddir" -a scripts
# add objtool for external module building and enabled VALIDATION_STACK option
if [[ -e tools/objtool/objtool ]]; then
@@ -204,8 +207,8 @@ _package-headers() {
mkdir -p "$builddir"/{fs/xfs,mm}
echo "Installing headers..."
- cp --reflink -t "$builddir" -a include
- cp --reflink -t "$builddir/arch/x86" -a arch/x86/include
+ cp -t "$builddir" -a include
+ cp -t "$builddir/arch/x86" -a arch/x86/include
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h