5.12.4-1 (clr 5.12.4-1040)

This commit is contained in:
Josip Ponjavic 2021-05-19 10:55:06 +02:00
parent 3243c8cead
commit cae5d3aac7
2 changed files with 38 additions and 31 deletions

View file

@ -1,6 +1,6 @@
pkgbase = linux-clear pkgbase = linux-clear
pkgdesc = Clear Linux pkgdesc = Clear Linux
pkgver = 5.12.3 pkgver = 5.12.4
pkgrel = 1 pkgrel = 1
url = https://github.com/clearlinux-pkgs/linux url = https://github.com/clearlinux-pkgs/linux
arch = x86_64 arch = x86_64
@ -14,8 +14,8 @@ pkgbase = linux-clear
options = !strip options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.12.tar.xz source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.12.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.12.tar.sign source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.12.tar.sign
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.12.3.xz source = https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.12.4.xz
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=5.12.2-1038 source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=5.12.4-1040
source = more-uarches-20210412.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20210412.tar.gz source = more-uarches-20210412.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20210412.tar.gz
source = pci-enable-overrides-for-missing-acs-capabilities.patch source = pci-enable-overrides-for-missing-acs-capabilities.patch
source = 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch source = 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
@ -23,7 +23,7 @@ pkgbase = linux-clear
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
sha256sums = 7d0df6f2bf2384d68d0bd8e1fe3e071d64364dcdc6002e7b5c87c92d48fac366 sha256sums = 7d0df6f2bf2384d68d0bd8e1fe3e071d64364dcdc6002e7b5c87c92d48fac366
sha256sums = SKIP sha256sums = SKIP
sha256sums = 80ee356fafb443bee6e5363e906a11074bc88c49ac495b969b9e9515659b88ff sha256sums = 115306305ab793f87793884d36a8f7c69acba9f06f4947ef8002bb611b14d770
sha256sums = SKIP sha256sums = SKIP
sha256sums = f1f62b6d2cd89d0ab15f8d7311f5bb775dfc97ff39f93bc77f6f733f75fa7558 sha256sums = f1f62b6d2cd89d0ab15f8d7311f5bb775dfc97ff39f93bc77f6f733f75fa7558
sha256sums = 2c98de0814366b041aeee4cbf82b82620c7834bc33752d50f089e8bd7ea5cf5e sha256sums = 2c98de0814366b041aeee4cbf82b82620c7834bc33752d50f089e8bd7ea5cf5e

View file

@ -19,7 +19,7 @@ _localmodcfg=
# Optionally select a sub architecture by number or leave blank which will # Optionally select a sub architecture by number or leave blank which will
# require user interaction during the build. Note that the generic (default) # require user interaction during the build. Note that the generic (default)
# option is 32. # option is 36.
# #
# 1. AMD Opteron/Athlon64/Hammer/K8 (MK8) # 1. AMD Opteron/Athlon64/Hammer/K8 (MK8)
# 2. AMD Opteron/Athlon64/Hammer/K8 with SSE3 (MK8SSE3) # 2. AMD Opteron/Athlon64/Hammer/K8 with SSE3 (MK8SSE3)
@ -33,29 +33,36 @@ _localmodcfg=
# 10. AMD Excavator (MEXCAVATOR) # 10. AMD Excavator (MEXCAVATOR)
# 11. AMD Zen (MZEN) # 11. AMD Zen (MZEN)
# 12. AMD Zen 2 (MZEN2) # 12. AMD Zen 2 (MZEN2)
# 13. Intel P4 / older Netburst based Xeon (MPSC) # 13. AMD Zen 3 (MZEN3)
# 14. Intel Atom (MATOM) # 14. Intel P4 / older Netburst based Xeon (MPSC)
# 15. Intel Core 2 (MCORE2) # 15. Intel Core 2 (MCORE2)
# 16. Intel Nehalem (MNEHALEM) # 16. Intel Atom (MATOM)
# 17. Intel Westmere (MWESTMERE) # 17. Intel Nehalem (MNEHALEM)
# 18. Intel Silvermont (MSILVERMONT) # 18. Intel Westmere (MWESTMERE)
# 19. Intel Goldmont (MGOLDMONT) # 19. Intel Silvermont (MSILVERMONT)
# 20. Intel Goldmont Plus (MGOLDMONTPLUS) # 20. Intel Goldmont (MGOLDMONT)
# 21. Intel Sandy Bridge (MSANDYBRIDGE) # 21. Intel Goldmont Plus (MGOLDMONTPLUS)
# 22. Intel Ivy Bridge (MIVYBRIDGE) # 22. Intel Sandy Bridge (MSANDYBRIDGE)
# 23. Intel Haswell (MHASWELL) # 23. Intel Ivy Bridge (MIVYBRIDGE)
# 24. Intel Broadwell (MBROADWELL) # 24. Intel Haswell (MHASWELL)
# 25. Intel Skylake (MSKYLAKE) # 25. Intel Broadwell (MBROADWELL)
# 26. Intel Skylake X (MSKYLAKEX) # 26. Intel Skylake (MSKYLAKE)
# 27. Intel Cannon Lake (MCANNONLAKE) # 27. Intel Skylake X (MSKYLAKEX)
# 28. Intel Ice Lake (MICELAKE) # 28. Intel Cannon Lake (MCANNONLAKE)
# 29. Intel Cascade Lake (MCASCADELAKE) # 29. Intel Ice Lake (MICELAKE)
# 30. Intel Cooper Lake (MCOOPERLAKE) # 30. Intel Cascade Lake (MCASCADELAKE)
# 31. Intel Tiger Lake (MTIGERLAKE) # 31. Intel Cooper Lake (MCOOPERLAKE)
# 32. Generic-x86-64 (GENERIC_CPU) # 32. Intel Tiger Lake (MTIGERLAKE)
# 33. Intel-Native optimizations autodetected by GCC (MNATIVE_INTEL) # 33. Intel Sapphire Rapids (MSAPPHIRERAPIDS)
# 34. AMD-Native optimizations autodetected by GCC (MNATIVE_AMD) # 34. Intel Rocket Lake (MROCKETLAKE)
_subarch=33 # 35. Intel Alder Lake (MALDERLAKE)
# 36. Generic-x86-64 (GENERIC_CPU)
# 37. Generic-x86-64-v2 (GENERIC_CPU2)
# 38. Generic-x86-64-v3 (GENERIC_CPU3)
# 39. Generic-x86-64-v4 (GENERIC_CPU4)
# 40. Intel-Native optimizations autodetected by GCC (MNATIVE_INTEL)
# 41. AMD-Native optimizations autodetected by GCC (MNATIVE_AMD)
_subarch=
# Use the current kernel's .config file # Use the current kernel's .config file
# Enabling this option will use the .config of the RUNNING kernel rather than # Enabling this option will use the .config of the RUNNING kernel rather than
@ -67,9 +74,9 @@ _use_current=
### IMPORTANT: Do no edit below this line unless you know what you're doing ### IMPORTANT: Do no edit below this line unless you know what you're doing
_major=5.12 _major=5.12
_minor=3 _minor=4
_srcname=linux-${_major} _srcname=linux-${_major}
_clr=${_major}.2-1038 _clr=${_major}.4-1040
pkgbase=linux-clear pkgbase=linux-clear
pkgver=${_major}.${_minor} pkgver=${_major}.${_minor}
pkgrel=1 pkgrel=1
@ -108,7 +115,7 @@ prepare() {
echo "${pkgbase#linux}" > localversion.20-pkgname echo "${pkgbase#linux}" > localversion.20-pkgname
### Add Clearlinux patches ### Add Clearlinux patches
for i in $(grep '^Patch' ${srcdir}/clearlinux/linux.spec | grep -Ev '^Patch0112|^Patch0118|^Patch0121' | sed -n 's/.*: //p'); do for i in $(grep '^Patch' ${srcdir}/clearlinux/linux.spec | sed -n 's/.*: //p'); do
echo "Applying patch ${i}..." echo "Applying patch ${i}..."
patch -Np1 -i "$srcdir/clearlinux/${i}" patch -Np1 -i "$srcdir/clearlinux/${i}"
done done
@ -345,7 +352,7 @@ done
sha256sums=('7d0df6f2bf2384d68d0bd8e1fe3e071d64364dcdc6002e7b5c87c92d48fac366' sha256sums=('7d0df6f2bf2384d68d0bd8e1fe3e071d64364dcdc6002e7b5c87c92d48fac366'
'SKIP' 'SKIP'
'80ee356fafb443bee6e5363e906a11074bc88c49ac495b969b9e9515659b88ff' '115306305ab793f87793884d36a8f7c69acba9f06f4947ef8002bb611b14d770'
'SKIP' 'SKIP'
'f1f62b6d2cd89d0ab15f8d7311f5bb775dfc97ff39f93bc77f6f733f75fa7558' 'f1f62b6d2cd89d0ab15f8d7311f5bb775dfc97ff39f93bc77f6f733f75fa7558'
'2c98de0814366b041aeee4cbf82b82620c7834bc33752d50f089e8bd7ea5cf5e' '2c98de0814366b041aeee4cbf82b82620c7834bc33752d50f089e8bd7ea5cf5e'