Sync with Github

Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
Piotr Gorski 2023-05-17 20:31:44 +02:00
parent c722f3c37a
commit 75cbbe8639
No known key found for this signature in database
GPG key ID: 79AFA05ABDB26C5A
3 changed files with 28 additions and 10 deletions

View file

@ -1,6 +1,6 @@
pkgbase = linux-cachyos-lts
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.1.24
pkgver = 6.1.29
pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
@ -20,17 +20,18 @@ pkgbase = linux-cachyos-lts
makedepends = binutils
makedepends = make
makedepends = patch
makedepends = python
options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.24.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.29.tar.xz
source = config
source = auto-cpu-optimization.sh
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.1/all/0001-cachyos-base-all.patch
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.1/misc/0001-Add-latency-priority-for-CFS-class.patch
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.1/sched/0001-bore-cachy.patch
sha256sums = aae6a7e38e33589011f5a5c0d7e087c8a26e3daf8d434432ee975ead90546504
sha256sums = 1e736cc9bd6036379a1d915e518abd4c2c94ad0fd1ea0da961c3489308b8fcfb
sha256sums = b00fb5dc7c5079c3efa1d0ee3b419376cf053c4b90ed623405096ce880e3dc8c
sha256sums = 41c34759ed248175e905c57a25e2b0ed09b11d054fe1a8783d37459f34984106
sha256sums = f4f4489ac2229fc71a8d8edfb1c1a7493015406f63a01d5f8a450bd9d0e2cab0
sha256sums = 0e0407321ff805d253a2d81a47e0df0a8087869d3c5902af03b7d12ee6981147
sha256sums = f3978876414beee18d6e80995b01b3d3dca1bb6bca9beacf8ac28e2ec6b08ede
sha256sums = 69f88ce35468d190badf5e781120f16f44b416c580d22d79194d52ee29e6ce6f

View file

@ -197,7 +197,7 @@ else
pkgbase=linux-$pkgsuffix
fi
_major=6.1
_minor=24
_minor=29
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@ -213,7 +213,7 @@ arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
options=('!strip')
makedepends=('bc' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz' 'zstd' 'gcc' 'gcc-libs' 'glibc' 'binutils' 'make' 'patch')
makedepends=('bc' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz' 'zstd' 'gcc' 'gcc-libs' 'glibc' 'binutils' 'make' 'patch' 'python')
# LLVM makedepends
if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_kcfi" ]; then
makedepends+=(clang llvm lld python)
@ -234,7 +234,7 @@ source=(
# ZFS support
if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=33003ecc93ef532e41255a6f91c585b26f871ec0")
source+=("git+https://github.com/cachyos/zfs.git#commit=e25f9131d679692704c11dc0c1df6d4585b70c35")
fi
## Latency NICE Support
@ -246,7 +246,8 @@ fi
case "$_cpusched" in
pds|bmq) # BMQ/PDS scheduler
source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
linux-cachyos-prjc.install);;
tt) ## TT Scheduler
source+=("${_patchsource}/sched/0001-tt-cachy.patch");;
bore) ## BORE Scheduler with latency_nice
@ -845,9 +846,9 @@ for _p in "${pkgname[@]}"; do
}"
done
sha256sums=('aae6a7e38e33589011f5a5c0d7e087c8a26e3daf8d434432ee975ead90546504'
sha256sums=('1e736cc9bd6036379a1d915e518abd4c2c94ad0fd1ea0da961c3489308b8fcfb'
'b00fb5dc7c5079c3efa1d0ee3b419376cf053c4b90ed623405096ce880e3dc8c'
'41c34759ed248175e905c57a25e2b0ed09b11d054fe1a8783d37459f34984106'
'f4f4489ac2229fc71a8d8edfb1c1a7493015406f63a01d5f8a450bd9d0e2cab0'
'0e0407321ff805d253a2d81a47e0df0a8087869d3c5902af03b7d12ee6981147'
'f3978876414beee18d6e80995b01b3d3dca1bb6bca9beacf8ac28e2ec6b08ede'
'69f88ce35468d190badf5e781120f16f44b416c580d22d79194d52ee29e6ce6f')

View file

@ -0,0 +1,16 @@
post_install() {
cat << EOF
You install the linux-cachyos kernel variant with the PDS/BMQ scheduler.
Please note that this scheduler can cause various performance and stability
issues (especially on AMD Ryzen CPUs) and we don't provide official
support for fixing them. If you encounter any problems while using the kernel,
please make sure that that it is not a BMQ or PDS specific problem before reporting it
to us, otherwise inform the Project C developer:
https://gitlab.com/alfredchen/linux-prjc/-/issues
EOF
}
post_upgrade() {
post_install
}