5.2.10-2 (clr 5.2.10-828) update kernel gcc patch
This commit is contained in:
parent
55ce66435e
commit
db8f2b6897
2 changed files with 34 additions and 35 deletions
8
.SRCINFO
8
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = linux-clear
|
pkgbase = linux-clear
|
||||||
pkgver = 5.2.10
|
pkgver = 5.2.10
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/clearlinux-pkgs/linux
|
url = https://github.com/clearlinux-pkgs/linux
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL2
|
license = GPL2
|
||||||
|
@ -14,8 +14,8 @@ pkgbase = linux-clear
|
||||||
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.2.tar.xz
|
||||||
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/linux-5.2.tar.sign
|
||||||
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.2.10.xz
|
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.2.10.xz
|
||||||
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=5.2.9-825
|
source = clearlinux::git+https://github.com/clearlinux-pkgs/linux.git#tag=5.2.10-828
|
||||||
source = enable_additional_cpu_optimizations-20190714.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20190714.tar.gz
|
source = enable_additional_cpu_optimizations-20190822.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20190822.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
|
||||||
|
@ -27,7 +27,7 @@ pkgbase = linux-clear
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = 6fae3dfa150ea98196acd40e1b8e16b13710d07f607e900e418aa71787f872ff
|
sha256sums = 6fae3dfa150ea98196acd40e1b8e16b13710d07f607e900e418aa71787f872ff
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
sha256sums = 2466fb4aecc66d1b258b4cbdb2f215b5099f266d8c4386bb62ad1a0acd0caf5b
|
sha256sums = 8c11086809864b5cef7d079f930bd40da8d0869c091965fa62e95de9a0fe13b5
|
||||||
sha256sums = dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1
|
sha256sums = dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1
|
||||||
sha256sums = ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21
|
sha256sums = ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21
|
||||||
sha256sums = c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636
|
sha256sums = c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636
|
||||||
|
|
59
PKGBUILD
59
PKGBUILD
|
@ -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 27.
|
# generic (default) option is 30.
|
||||||
#
|
#
|
||||||
# 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)
|
||||||
|
@ -31,27 +31,27 @@ _enable_gcc_more_v="y"
|
||||||
# 16. Intel Nehalem (MNEHALEM)
|
# 16. Intel Nehalem (MNEHALEM)
|
||||||
# 17. Intel Westmere (MWESTMERE)
|
# 17. Intel Westmere (MWESTMERE)
|
||||||
# 18. Intel Silvermont (MSILVERMONT)
|
# 18. Intel Silvermont (MSILVERMONT)
|
||||||
# 19. Intel Sandy Bridge (MSANDYBRIDGE)
|
# 19. Intel Goldmont (MGOLDMONT)
|
||||||
# 20. Intel Ivy Bridge (MIVYBRIDGE)
|
# 20. Intel Goldmont Plus (MGOLDMONTPLUS)
|
||||||
# 21. Intel Haswell (MHASWELL)
|
# 21. Intel Sandy Bridge (MSANDYBRIDGE)
|
||||||
# 22. Intel Broadwell (MBROADWELL)
|
# 22. Intel Ivy Bridge (MIVYBRIDGE)
|
||||||
# 23. Intel Skylake (MSKYLAKE)
|
# 23. Intel Haswell (MHASWELL)
|
||||||
# 24. Intel Skylake X (MSKYLAKEX)
|
# 24. Intel Broadwell (MBROADWELL)
|
||||||
# 25. Intel Cannon Lake (MCANNONLAKE)
|
# 25. Intel Skylake (MSKYLAKE)
|
||||||
# 26. Intel Ice Lake (MICELAKE)
|
# 26. Intel Skylake X (MSKYLAKEX)
|
||||||
# 27. Generic-x86-64 (GENERIC_CPU)
|
# 27. Intel Cannon Lake (MCANNONLAKE)
|
||||||
# 28. Native optimizations autodetected by GCC (MNATIVE)
|
# 28. Intel Ice Lake (MICELAKE)
|
||||||
_subarch=28
|
# 29. Intel Cascade Lake (MCASCADELAKE)
|
||||||
|
# 30. Generic-x86-64 (GENERIC_CPU)
|
||||||
|
# 31. Native optimizations autodetected by GCC (MNATIVE)
|
||||||
|
_subarch=31
|
||||||
|
|
||||||
# Compile ONLY probed modules
|
# Compile ONLY used modules to VASTLY reduce the number of modules built
|
||||||
# Build in only the modules that you currently have probed in your system VASTLY
|
# and the build time.
|
||||||
# reducing the number of modules built and the build time.
|
|
||||||
#
|
|
||||||
# WARNING - ALL modules must be probed BEFORE you begin making the pkg!
|
|
||||||
#
|
#
|
||||||
# To keep track of which modules are needed for your specific system/hardware,
|
# To keep track of which modules are needed for your specific system/hardware,
|
||||||
# give module_db script a try: https://aur.archlinux.org/packages/modprobed-db
|
# give module_db script a try: https://aur.archlinux.org/packages/modprobed-db
|
||||||
# This PKGBUILD will call it directly to probe all the modules you have logged!
|
# This PKGBUILD read the database kept if it exists
|
||||||
#
|
#
|
||||||
# More at this wiki page ---> https://wiki.archlinux.org/index.php/Modprobed-db
|
# More at this wiki page ---> https://wiki.archlinux.org/index.php/Modprobed-db
|
||||||
_localmodcfg=
|
_localmodcfg=
|
||||||
|
@ -65,16 +65,16 @@ _enable_acs_override="y"
|
||||||
_major=5.2
|
_major=5.2
|
||||||
_minor=10
|
_minor=10
|
||||||
_srcname=linux-${_major}
|
_srcname=linux-${_major}
|
||||||
_clr=${_major}.9-825
|
_clr=${_major}.10-828
|
||||||
pkgbase=linux-clear
|
pkgbase=linux-clear
|
||||||
pkgver=${_major}.${_minor}
|
pkgver=${_major}.${_minor}
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/clearlinux-pkgs/linux"
|
url="https://github.com/clearlinux-pkgs/linux"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
makedepends=('bc' 'git' 'inetutils' 'kmod' 'libelf' 'xmlto')
|
makedepends=('bc' 'git' 'inetutils' 'kmod' 'libelf' 'xmlto')
|
||||||
options=('!strip')
|
options=('!strip')
|
||||||
_gcc_more_v='20190714'
|
_gcc_more_v='20190822'
|
||||||
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"
|
||||||
|
@ -105,7 +105,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 '^Patch0125|^Patch0005' | 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
|
||||||
|
@ -156,13 +156,12 @@ CONFIG_MODULE_COMPRESS_XZ=y|' ./.config
|
||||||
### Optionally load needed modules for the make localmodconfig
|
### Optionally load needed modules for the make localmodconfig
|
||||||
# See https://aur.archlinux.org/packages/modprobed-db
|
# See https://aur.archlinux.org/packages/modprobed-db
|
||||||
if [ -n "$_localmodcfg" ]; then
|
if [ -n "$_localmodcfg" ]; then
|
||||||
msg2 "If you have modprobed-db installed, running it in recall mode now"
|
if [ -f $HOME/.config/modprobed.db ]; then
|
||||||
if [ -e /usr/bin/modprobed-db ]; then
|
msg2 "Running Steven Rostedt's make localmodconfig now"
|
||||||
[[ -x /usr/bin/sudo ]] || {
|
make LSMOD=$HOME/.config/modprobed.db localmodconfig
|
||||||
echo "Cannot call modprobe with sudo. Install sudo and configure it to work with this user."
|
else
|
||||||
exit 1; }
|
msg2 "No modprobed.db data found"
|
||||||
sudo /usr/bin/modprobed-db recall
|
exit
|
||||||
make localmodconfig
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -336,7 +335,7 @@ sha256sums=('54ad66f672e1a831b574f5e704e8a05f1e6180a8245d4bdd811208a6cb0ac1e7'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'6fae3dfa150ea98196acd40e1b8e16b13710d07f607e900e418aa71787f872ff'
|
'6fae3dfa150ea98196acd40e1b8e16b13710d07f607e900e418aa71787f872ff'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'2466fb4aecc66d1b258b4cbdb2f215b5099f266d8c4386bb62ad1a0acd0caf5b'
|
'8c11086809864b5cef7d079f930bd40da8d0869c091965fa62e95de9a0fe13b5'
|
||||||
'dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1'
|
'dbf4ac4b873ce6972e63b78d74ddba18f2701716163bb7f4b4fe5e909346a6e1'
|
||||||
'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21'
|
'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21'
|
||||||
'c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636'
|
'c043f3033bb781e2688794a59f6d1f7ed49ef9b13eb77ff9a425df33a244a636'
|
||||||
|
|
Loading…
Reference in a new issue