5.2.2-1 (clr 5.2.2-802)

This commit is contained in:
Josip Ponjavic 2019-07-23 22:23:11 +02:00
parent f618cfae1e
commit e91224699b
2 changed files with 38 additions and 37 deletions

View file

@ -1,5 +1,5 @@
pkgbase = linux-clear pkgbase = linux-clear
pkgver = 5.1.19 pkgver = 5.2.2
pkgrel = 1 pkgrel = 1
url = https://github.com/clearlinux-pkgs/linux url = https://github.com/clearlinux-pkgs/linux
arch = x86_64 arch = x86_64
@ -12,12 +12,12 @@ pkgbase = linux-clear
makedepends = linux-firmware makedepends = linux-firmware
makedepends = xmlto makedepends = xmlto
options = !strip options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.1.tar.xz source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.2.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.1.tar.sign source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.2.tar.sign
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.1.19.xz source = https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.2.2.xz
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=5.1.16-795 source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=5.2.2-802
source = intel-ucode-20190618.tar.gz::https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-20190618.tar.gz source = intel-ucode-20190618.tar.gz::https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-20190618.tar.gz
source = enable_additional_cpu_optimizations-20180509.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20180509.tar.gz source = enable_additional_cpu_optimizations-20190714.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20190714.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
source = 60-linux.hook source = 60-linux.hook
source = 90-linux.hook source = 90-linux.hook
@ -25,12 +25,12 @@ pkgbase = linux-clear
source = linux.preset source = linux.preset
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886 validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
sha256sums = d06a7be6e73f97d1350677ad3bae0ce7daecb79c2c2902aaabe806f7fa94f041 sha256sums = 54ad66f672e1a831b574f5e704e8a05f1e6180a8245d4bdd811208a6cb0ac1e7
sha256sums = SKIP sha256sums = SKIP
sha256sums = 9ecde5b77ab4d7a7d42e739e96d3fa0c8360eb2f57fd51e9fbf06c3f4c41cdbb sha256sums = 729084da258dd41195aae7f6c897b92f2e9355c0f9d28beec1fb8e67984afdf0
sha256sums = SKIP sha256sums = SKIP
sha256sums = 74ec7415988d40fa53686d994cf8cb27accdbd35c5373c4c3afc2e93372ebba5 sha256sums = 74ec7415988d40fa53686d994cf8cb27accdbd35c5373c4c3afc2e93372ebba5
sha256sums = 226e30068ea0fecdb22f337391385701996bfbdba37cdcf0f1dbf55f1080542d sha256sums = 2466fb4aecc66d1b258b4cbdb2f215b5099f266d8c4386bb62ad1a0acd0caf5b
sha256sums = dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1 sha256sums = dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1
sha256sums = ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21 sha256sums = ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21
sha256sums = c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636 sha256sums = c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636

View file

@ -11,7 +11,7 @@ _enable_gcc_more_v="y"
# Optionally select a sub architecture by number if building in a clean chroot # Optionally select a sub architecture by number if building in a clean chroot
# Leaving this entry blank will require user interaction during the build # Leaving this entry blank will require user interaction during the build
# which will cause a failure to build if using makechrootpkg. Note that the # which will cause a failure to build if using makechrootpkg. Note that the
# generic (default) option is 26. # generic (default) option is 27.
# #
# 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)
@ -24,23 +24,24 @@ _enable_gcc_more_v="y"
# 9. AMD Steamroller (MSTEAMROLLER) # 9. AMD Steamroller (MSTEAMROLLER)
# 10. AMD Excavator (MEXCAVATOR) # 10. AMD Excavator (MEXCAVATOR)
# 11. AMD Zen (MZEN) # 11. AMD Zen (MZEN)
# 12. Intel P4 / older Netburst based Xeon (MPSC) # 12. AMD Zen 2 (MZEN2)
# 13. Intel Atom (MATOM) # 13. Intel P4 / older Netburst based Xeon (MPSC)
# 14. Intel Core 2 (MCORE2) # 14. Intel Atom (MATOM)
# 15. Intel Nehalem (MNEHALEM) # 15. Intel Core 2 (MCORE2)
# 16. Intel Westmere (MWESTMERE) # 16. Intel Nehalem (MNEHALEM)
# 17. Intel Silvermont (MSILVERMONT) # 17. Intel Westmere (MWESTMERE)
# 18. Intel Sandy Bridge (MSANDYBRIDGE) # 18. Intel Silvermont (MSILVERMONT)
# 19. Intel Ivy Bridge (MIVYBRIDGE) # 19. Intel Sandy Bridge (MSANDYBRIDGE)
# 20. Intel Haswell (MHASWELL) # 20. Intel Ivy Bridge (MIVYBRIDGE)
# 21. Intel Broadwell (MBROADWELL) # 21. Intel Haswell (MHASWELL)
# 22. Intel Skylake (MSKYLAKE) # 22. Intel Broadwell (MBROADWELL)
# 23. Intel Skylake X (MSKYLAKEX) # 23. Intel Skylake (MSKYLAKE)
# 24. Intel Cannon Lake (MCANNONLAKE) # 24. Intel Skylake X (MSKYLAKEX)
# 25. Intel Ice Lake (MICELAKE) # 25. Intel Cannon Lake (MCANNONLAKE)
# 26. Generic-x86-64 (GENERIC_CPU) # 26. Intel Ice Lake (MICELAKE)
# 27. Native optimizations autodetected by GCC (MNATIVE) # 27. Generic-x86-64 (GENERIC_CPU)
_subarch=27 # 28. Native optimizations autodetected by GCC (MNATIVE)
_subarch=28
# Compile ONLY probed modules # Compile ONLY probed modules
# Build in only the modules that you currently have probed in your system VASTLY # Build in only the modules that you currently have probed in your system VASTLY
@ -61,10 +62,10 @@ _enable_acs_override="y"
### 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.1 _major=5.2
_minor=19 _minor=2
_srcname=linux-${_major} _srcname=linux-${_major}
_clr=${_major}.16-795 _clr=${_major}.2-802
pkgbase=linux-clear pkgbase=linux-clear
pkgver=${_major}.${_minor} pkgver=${_major}.${_minor}
pkgrel=1 pkgrel=1
@ -74,7 +75,7 @@ license=('GPL2')
makedepends=('bc' 'git' 'inetutils' 'kmod' 'libelf' 'linux-firmware' 'xmlto') makedepends=('bc' 'git' 'inetutils' 'kmod' 'libelf' 'linux-firmware' 'xmlto')
options=('!strip') options=('!strip')
_ucode='20190618' _ucode='20190618'
_gcc_more_v='20180509' _gcc_more_v='20190714'
source=( source=(
"https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_major}.tar.xz" "https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_major}.tar.xz"
"https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_major}.tar.sign" "https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_major}.tar.sign"
@ -106,7 +107,7 @@ prepare() {
echo "$_kernelname" > localversion.20-pkgname echo "$_kernelname" > localversion.20-pkgname
### Add Clearlinux patches ### Add Clearlinux patches
for i in $(grep '^Patch' ${srcdir}/clearlinux/linux.spec | grep -Ev '^Patch0126|^Patch0009' | sed -n 's/.*: //p'); do for i in $(grep '^Patch' ${srcdir}/clearlinux/linux.spec | grep -Ev '^Patch0125' | 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}"
done done
@ -138,8 +139,8 @@ CONFIG_MODULE_COMPRESS_XZ=y|' ./.config
### Patch source to unlock additional gcc CPU optimizations ### Patch source to unlock additional gcc CPU optimizations
# https://github.com/graysky2/kernel_gcc_patch # https://github.com/graysky2/kernel_gcc_patch
if [ "${_enable_gcc_more_v}" = "y" ]; then if [ "${_enable_gcc_more_v}" = "y" ]; then
msg2 "Enabling additional gcc CPU optimizations..." msg2 "Applying enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch ..."
patch -Np1 -i "$srcdir/kernel_gcc_patch-$_gcc_more_v/enable_additional_cpu_optimizations_for_gcc_v8.1+_kernel_v4.13+.patch" patch -Np1 -i "$srcdir/kernel_gcc_patch-$_gcc_more_v/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch"
fi fi
### Enable ACS override patch ### Enable ACS override patch
@ -338,12 +339,12 @@ for _p in "${pkgname[@]}"; do
}" }"
done done
sha256sums=('d06a7be6e73f97d1350677ad3bae0ce7daecb79c2c2902aaabe806f7fa94f041' sha256sums=('54ad66f672e1a831b574f5e704e8a05f1e6180a8245d4bdd811208a6cb0ac1e7'
'SKIP' 'SKIP'
'9ecde5b77ab4d7a7d42e739e96d3fa0c8360eb2f57fd51e9fbf06c3f4c41cdbb' '729084da258dd41195aae7f6c897b92f2e9355c0f9d28beec1fb8e67984afdf0'
'SKIP' 'SKIP'
'74ec7415988d40fa53686d994cf8cb27accdbd35c5373c4c3afc2e93372ebba5' '74ec7415988d40fa53686d994cf8cb27accdbd35c5373c4c3afc2e93372ebba5'
'226e30068ea0fecdb22f337391385701996bfbdba37cdcf0f1dbf55f1080542d' '2466fb4aecc66d1b258b4cbdb2f215b5099f266d8c4386bb62ad1a0acd0caf5b'
'dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1' 'dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1'
'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21' 'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21'
'c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636' 'c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636'