This commit is contained in:
P. Jung 2021-11-06 01:37:19 +01:00
parent 225f4e4f51
commit e34921d643
No known key found for this signature in database
GPG key ID: AFC052D06215E148
3 changed files with 410 additions and 366 deletions

132
.SRCINFO
View file

@ -1,7 +1,7 @@
pkgbase = linux-cachyos-bmq
pkgbase = linux-cachyos-bmq-lto
pkgdesc = Linux-bmq Kernel by CachyOS and with some other patches and other improvements
pkgver = 5.14.15
pkgrel = 1
pkgver = 5.15
pkgrel = 3
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@ -18,77 +18,67 @@ pkgbase = linux-cachyos-bmq
makedepends = perl
makedepends = tar
makedepends = xz
makedepends = clang
makedepends = llvm
makedepends = lld
makedepends = python
options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.14.15.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/arch-patches-v10/0001-arch-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0009-prjc_v5.14-r3.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-preempt-hz-cfs.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/cpufreq-patches/0001-cpufreq-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/misc/0008-remove-LightNVM.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/amd64-patches/0001-amd64-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ll-patches/0004-mm-set-8-megabytes-for-address_space-level-file-read.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/bbr2-patches/0001-bbr2-5.14-introduce-BBRv2.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/block-patches-v2/0001-block-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/btrfs-patches-v9/0001-btrfs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/fixes-miscellaneous-v8/0001-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/futex-xanmod-patches-v2/0001-futex-resync-from-gitlab.collabora.com.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/futex2-xanmod-patches-v2/0001-futex2-resync-from-gitlab.collabora.com.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ksmbd-patches-v20/0001-ksmbd-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/hwmon-patches-v6/0001-hwmon-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/lqx-patches/0001-lqx-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/lrng-patches-v3/0001-lrng-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/lru-patches-v4/0001-lru-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/pf-patches-v9/0001-pf-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/xanmod-patches-v2/0001-xanmod-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/zen-patches-v4/0001-zen-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/zstd-patches-v2/0001-zstd-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/security-patches/0001-security-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/zstd-upstream-patches-v7/0001-zstd-upstream-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ntfs3-patches-v14/0001-ntfs3-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-ksm.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-cpu-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-winesync.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-prjc-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-backport.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-misc.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd64-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bbr2.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-clearlinux-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cpu-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cpufreq-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-btrfs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-acpi.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-ksmbd-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lru-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-security-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-v4l2loopback.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-zen-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-zstd-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-zstd-upstream-patches.patch
source = auto-cpu-optimization.sh
md5sums = 54c6f1371128e1a80dd700f52223aa64
md5sums = b09057d8f5bd130039a6dc4e79c5dd9d
md5sums = 581faf85cd625c41bbdd0cadbd0e451e
md5sums = ff8c0963b6284f6b3940f983f3cb43d8
md5sums = f88c3290ece724c81921059df14965cf
md5sums = b87b77bd4273817f2b792d6fe965e417
md5sums = eb39a5681a153f5a1f5a67e8b9e957a5
md5sums = b1274beeffe2ef126cc67f0b3f50dbbd
md5sums = fd076c60e7e779a515351fb7ed8c8afe
md5sums = f0d84fc024b9933bc19db696e0393a4e
md5sums = e45c7962a78d6e82a0d3808868cd6ac0
md5sums = 196d6ac961497aa880264b83160eb140
md5sums = 1eaf224f9f46096efb75c153b712d702
md5sums = 08183676295d4a89a2c65b1bc326ae3f
md5sums = a4008ce93063573f7f1baaeb4ed3b12d
md5sums = fd934f7d11131d5a5043e4aea640583b
md5sums = 8a96c5e8346bd5b430776ac8a41f96b0
md5sums = 67f36f551469ac2d7176cbb4c61872ff
md5sums = 7b5a8b5c7531a316618e6a4d529f8505
md5sums = 6787c78ba3e7b0a34fbba9c50da7e3b4
md5sums = 30fb6c409c94cae36e150ec88ae8f74e
md5sums = 8adcaccbb5c0ebd4bc81144e16b92627
md5sums = 607228871a4127c31baae7b1d66866bc
md5sums = 28864f14bf33bad92e57bc48bc5c2c78
md5sums = b90912780974bd4ee160def1d02e30c5
md5sums = 808981a36c81165953017e5e432c1fa1
md5sums = f6a1c51adfc68fb7b52dc5715a9cb5a7
md5sums = e2013a225d186772851d566b4db89d53
md5sums = 0636779d32ba47bda25d3edb5fbd08c9
md5sums = 566435a0444ee45816599f2e0e362c7a
md5sums = bb22330e270bf36ccf53cb04d6b496d2
md5sums = 4c493a3e0f3486be8ad1b6c67c9c6917
md5sums = 95eb4457f95f3f8dd153983612ee65c0
md5sums = 071d49ff4e020d58c04f9f3f76d3b594
md5sums = ca311453b9de38a45bd65beaef256f44
md5sums = 3458cd35e4b13db668de0b711d8f529b
md5sums = cf26387aadf2a90428350ac246b070c9
md5sums = 910f26cc108ca59bc7eac2f98059991c
md5sums = 9b69c2bb5bd14add123fdf1164b2225d
md5sums = a2f2715c541983f81fbcd22d8c4f2919
md5sums = 53f037488a66667220c263f92ded333d
md5sums = 2a8097ba46be56fbbe3967e9c34c9a0b
md5sums = 0b6d09bdd920f4c31c05fdeaa0740548
md5sums = d7f5fefd8ae018999e2b55073aaca706
md5sums = 4792a194feb0e9267f8660f38746f4fb
md5sums = 2b793d08fe0033546a7264a565af51f3
md5sums = 00decf9061d63b59d6a2857f4bc681df
md5sums = 7fa046fd98013a89ed5f57b18c612068
md5sums = a1c6a106ddbbff6be6711f6a72706cb0
md5sums = 0dbf246a4e501c5dc276985d34faa5df
md5sums = f845dc3bca8d4e0020ed8f37e4e8d9ea
md5sums = 07fb571e48d0772a30c9777ecf13031e
md5sums = 39c65dd4eeec0dfedbf79ca5e43276d5
md5sums = bac586853f924588e24869d8aa62f5be
md5sums = bc64b1d1a9c95b07c28457f7214ebf81
md5sums = 8cb0301d159b59727b7bdd09350e2a9f
md5sums = de6db1147385c058b2e94df3c1739fdf
md5sums = bf58290793d3a095ef95fb1fac2de89a
md5sums = a86ed27c2ef70973502660ca6804d6fe
md5sums = 21c98f19e883879dd3336c1fa143fd31
pkgname = linux-cachyos-bmq
pkgname = linux-cachyos-bmq-lto
pkgdesc = The Linux-bmq Kernel by CachyOS and with some other patches and other improvements kernel and modules
depends = coreutils
depends = kmod
@ -99,7 +89,7 @@ pkgname = linux-cachyos-bmq
provides = VIRTUALBOX-GUEST-MODULES
provides = WIREGUARD-MODULE
pkgname = linux-cachyos-bmq-headers
pkgname = linux-cachyos-bmq-lto-headers
pkgdesc = Headers and scripts for building modules for the Linux-bmq Kernel by CachyOS and with some other patches and other improvements
depends = linux-cachyos-bmq=5.14.15
depends = linux-cachyos-bmq-lto=5.15
depends = pahole

120
PKGBUILD
View file

@ -42,9 +42,6 @@ _lrng_enable=y
## Samba3 Server
_ksmbd_enable=
# Tweak kernel options prior to a build via nconfig
_makenconfig=
## Apply Kernel automatic Optimization
_use_auto_optimization=y
@ -114,8 +111,8 @@ if [ -n "$_use_llvm_lto" ]; then
else
pkgbase=linux-cachyos-bmq
fi
pkgver=5.14.15
pkgrel=1
pkgver=5.15
pkgrel=3
arch=(x86_64 x86_64_v3)
pkgdesc='Linux-bmq Kernel by CachyOS and with some other patches and other improvements'
_gittag=v${pkgver%.*}-${pkgver##*.}
@ -128,41 +125,35 @@ makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
if [ -n "$_use_llvm_lto" ]; then
makedepends+=(clang llvm lld python)
fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14"
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15"
source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.xz"
"config"
"${_patchsource}/arch-patches-v10/0001-arch-patches.patch"
"${_patchsource}/0009-prjc_v5.14-r3.patch"
"${_patchsource}/0001-preempt-hz-cfs.patch"
"${_patchsource}/cpufreq-patches/0001-cpufreq-patches.patch"
"${_patchsource}/misc/0008-remove-LightNVM.patch"
# "${_patchsource}/0001-slub.patch"
"${_patchsource}/amd64-patches/0001-amd64-patches.patch"
"${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/ll-patches/0004-mm-set-8-megabytes-for-address_space-level-file-read.patch"
"${_patchsource}/0001-prjc-patches.patch"
"${_patchsource}/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch"
"${_patchsource}/0001-backport.patch"
"${_patchsource}/0001-misc.patch"
"${_patchsource}/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch"
"${_patchsource}/bbr2-patches/0001-bbr2-5.14-introduce-BBRv2.patch"
"${_patchsource}/block-patches-v2/0001-block-patches.patch"
"${_patchsource}/btrfs-patches-v9/0001-btrfs-patches.patch"
"${_patchsource}/fixes-miscellaneous-v8/0001-fixes-miscellaneous.patch"
"${_patchsource}/futex-xanmod-patches-v2/0001-futex-resync-from-gitlab.collabora.com.patch"
"${_patchsource}/futex2-xanmod-patches-v2/0001-futex2-resync-from-gitlab.collabora.com.patch"
"${_patchsource}/ksmbd-patches-v20/0001-ksmbd-patches.patch"
"${_patchsource}/hwmon-patches-v6/0001-hwmon-patches.patch"
"${_patchsource}/lqx-patches/0001-lqx-patches.patch"
"${_patchsource}/lrng-patches-v3/0001-lrng-patches.patch"
"${_patchsource}/lru-patches-v4/0001-lru-patches.patch"
"${_patchsource}/pf-patches-v9/0001-pf-patches.patch"
"${_patchsource}/xanmod-patches-v2/0001-xanmod-patches.patch"
"${_patchsource}/zen-patches-v4/0001-zen-patches.patch"
"${_patchsource}/zstd-patches-v2/0001-zstd-patches.patch"
"${_patchsource}/security-patches/0001-security-patches.patch"
"${_patchsource}/zstd-upstream-patches-v7/0001-zstd-upstream-patches.patch"
"${_patchsource}/ntfs3-patches-v14/0001-ntfs3-patches.patch"
"${_patchsource}/0001-ksm.patch"
"${_patchsource}/AMD/0001-amd64-patches.patch"
"${_patchsource}/0001-bbr2.patch"
"${_patchsource}/0001-clearlinux-patches.patch"
"${_patchsource}/0001-cpu-patches.patch"
"${_patchsource}/0001-winesync.patch"
"${_patchsource}/0001-cpufreq-patches.patch"
# "${_patchsource}/0001-block-backport.patch"
"${_patchsource}/0001-btrfs-patches.patch"
"${_patchsource}/0001-fixes-miscellaneous.patch"
"${_patchsource}/0001-futex.patch"
"${_patchsource}/0001-hwmon-patches.patch"
"${_patchsource}/0001-acpi.patch"
"${_patchsource}/0001-ksmbd-patches.patch"
# "${_patchsource}/0001-sched.patch"
"${_patchsource}/0001-lru-patches.patch"
"${_patchsource}/0001-lqx-patches.patch"
"${_patchsource}/0001-lrng-patches.patch"
"${_patchsource}/0001-security-patches.patch"
"${_patchsource}/0001-v4l2loopback.patch"
"${_patchsource}/0001-zen-patches.patch"
"${_patchsource}/0001-zstd-patches.patch"
"${_patchsource}/0001-zstd-upstream-patches.patch"
"auto-cpu-optimization.sh"
)
if [ -n "$_use_cfi" ]; then
@ -624,39 +615,32 @@ _package-headers() {
}
md5sums=('54c6f1371128e1a80dd700f52223aa64'
'b09057d8f5bd130039a6dc4e79c5dd9d'
'581faf85cd625c41bbdd0cadbd0e451e'
'ff8c0963b6284f6b3940f983f3cb43d8'
'f88c3290ece724c81921059df14965cf'
'b87b77bd4273817f2b792d6fe965e417'
'eb39a5681a153f5a1f5a67e8b9e957a5'
'b1274beeffe2ef126cc67f0b3f50dbbd'
'fd076c60e7e779a515351fb7ed8c8afe'
'f0d84fc024b9933bc19db696e0393a4e'
'e45c7962a78d6e82a0d3808868cd6ac0'
'196d6ac961497aa880264b83160eb140'
'1eaf224f9f46096efb75c153b712d702'
'08183676295d4a89a2c65b1bc326ae3f'
'a4008ce93063573f7f1baaeb4ed3b12d'
'fd934f7d11131d5a5043e4aea640583b'
'8a96c5e8346bd5b430776ac8a41f96b0'
'67f36f551469ac2d7176cbb4c61872ff'
'7b5a8b5c7531a316618e6a4d529f8505'
'6787c78ba3e7b0a34fbba9c50da7e3b4'
'30fb6c409c94cae36e150ec88ae8f74e'
'8adcaccbb5c0ebd4bc81144e16b92627'
'607228871a4127c31baae7b1d66866bc'
'28864f14bf33bad92e57bc48bc5c2c78'
'b90912780974bd4ee160def1d02e30c5'
'808981a36c81165953017e5e432c1fa1'
'f6a1c51adfc68fb7b52dc5715a9cb5a7'
'e2013a225d186772851d566b4db89d53'
'0636779d32ba47bda25d3edb5fbd08c9'
'566435a0444ee45816599f2e0e362c7a'
'bb22330e270bf36ccf53cb04d6b496d2'
'4c493a3e0f3486be8ad1b6c67c9c6917'
'95eb4457f95f3f8dd153983612ee65c0'
md5sums=('071d49ff4e020d58c04f9f3f76d3b594'
'ca311453b9de38a45bd65beaef256f44'
'3458cd35e4b13db668de0b711d8f529b'
'cf26387aadf2a90428350ac246b070c9'
'910f26cc108ca59bc7eac2f98059991c'
'9b69c2bb5bd14add123fdf1164b2225d'
'a2f2715c541983f81fbcd22d8c4f2919'
'53f037488a66667220c263f92ded333d'
'2a8097ba46be56fbbe3967e9c34c9a0b'
'0b6d09bdd920f4c31c05fdeaa0740548'
'd7f5fefd8ae018999e2b55073aaca706'
'4792a194feb0e9267f8660f38746f4fb'
'2b793d08fe0033546a7264a565af51f3'
'00decf9061d63b59d6a2857f4bc681df'
'7fa046fd98013a89ed5f57b18c612068'
'a1c6a106ddbbff6be6711f6a72706cb0'
'0dbf246a4e501c5dc276985d34faa5df'
'f845dc3bca8d4e0020ed8f37e4e8d9ea'
'07fb571e48d0772a30c9777ecf13031e'
'39c65dd4eeec0dfedbf79ca5e43276d5'
'bac586853f924588e24869d8aa62f5be'
'bc64b1d1a9c95b07c28457f7214ebf81'
'8cb0301d159b59727b7bdd09350e2a9f'
'de6db1147385c058b2e94df3c1739fdf'
'bf58290793d3a095ef95fb1fac2de89a'
'a86ed27c2ef70973502660ca6804d6fe'
'21c98f19e883879dd3336c1fa143fd31')
pkgname=("$pkgbase" "$pkgbase-headers" )
for _p in "${pkgname[@]}"; do

524
config

File diff suppressed because it is too large Load diff