mirror of
https://github.com/archlinux/aur.git
synced 2026-02-10 06:54:23 +01:00
Sync with Github
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
parent
5d418b0bb1
commit
43130661fd
3 changed files with 34 additions and 22 deletions
10
.SRCINFO
10
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = linux-cachyos-bore
|
||||
pkgdesc = Linux EEVDF-BORE scheduler Kernel by CachyOS with other patches and improvements
|
||||
pkgver = 6.7.0
|
||||
pkgrel = 3
|
||||
pkgrel = 4
|
||||
url = https://github.com/CachyOS/linux-cachyos
|
||||
arch = x86_64
|
||||
arch = x86_64_v3
|
||||
|
|
@ -27,11 +27,13 @@ pkgbase = linux-cachyos-bore
|
|||
source = auto-cpu-optimization.sh
|
||||
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.7/all/0001-cachyos-base-all.patch
|
||||
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.7/sched/0001-bore-cachy.patch
|
||||
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.7/misc/bore-tuning-sysctl.patch
|
||||
b2sums = cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e
|
||||
b2sums = da55af914e4d3e694009d534e89c8b73b23c174662a4bab6857b3e6ad51bb03a8d9ea7439e2dca2329fbeccbc6894e52ad90538649471e5b24328ecef7485575
|
||||
b2sums = 9c7b52c103a8506c027a28e81779ecba972f3c85f8917359282a6183d04d04407950ba55d3db13b285b722aafb68f308b16733e575e6b2f6e77b08682c7e5dc4
|
||||
b2sums = 43ef7a347878592740d9eb23b40a56083fa747f7700fa1e2c6d039d660c0b876d99bf1a3160e15d041fb13d45906cdb5defef034d4d0ae429911864239c94d8d
|
||||
b2sums = c48424df455ac2c6bd7cf73d64a671e7541eab75e644a403ef8162adb913b34d51f52cfa1dbb162976d7b85ba4055390f1bb2f90cb539c2bdb5efec7eae270fc
|
||||
b2sums = 784371c03cce8d01eff2b94d55d084f73deedbad8724dba394c7a5b354d338f31c3114e16937afcaf40ec3e39608e0a905c4724c910bc85195a0fb985f62a626
|
||||
b2sums = 6a1718dcc5cb15a784175ec49b4abe52d5a2677bf574883dc0e9e8c4fd6904b1bb9fc0d9b15a60d968b50dde138fd3ffb0824baf125194d136117881c0d5e441
|
||||
b2sums = e6b0b333a3e5c141f248abe05d5341458173c2343c1da52683c2421f22aa07bb76321808a35b9285cf4778f971a34a70869b29d787a3b39b202fdc1a8a225f1a
|
||||
b2sums = 0c8d56c54b589abf20691ac7c209f7a76f4a23ba754ac2f7e66ce4b5843b461a2e4b6799dd1acd1ac60292fa2938d8563513b79fc1dd2274c7153c324ae7d759
|
||||
|
||||
pkgname = linux-cachyos-bore
|
||||
pkgdesc = The Linux EEVDF-BORE scheduler Kernel by CachyOS with other patches and improvements kernel and modules
|
||||
|
|
|
|||
38
PKGBUILD
38
PKGBUILD
|
|
@ -20,6 +20,9 @@ _cachy_config=${_cachy_config-y}
|
|||
# 'sched-ext' - select 'sched-ext' Scheduler, based on EEVDF
|
||||
_cpusched=${_cpusched-bore}
|
||||
|
||||
# Apply suggested sysctl values from them developer of the BORE Scheduler
|
||||
# base_slice and disable tuneable scaling
|
||||
_bore_tuning_sysctl=${_bore_tuning_sysctl-y}
|
||||
|
||||
### Tweak kernel options prior to a build via nconfig
|
||||
_makenconfig=${_makenconfig-}
|
||||
|
|
@ -175,7 +178,7 @@ _stable=${_major}
|
|||
_srcname=linux-${_stable}
|
||||
#_srcname=linux-${_major}
|
||||
pkgdesc='Linux EEVDF-BORE scheduler Kernel by CachyOS with other patches and improvements'
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
_kernver=$pkgver-$pkgrel
|
||||
arch=('x86_64' 'x86_64_v3')
|
||||
url="https://github.com/CachyOS/linux-cachyos"
|
||||
|
|
@ -193,7 +196,7 @@ if [[ "$_use_llvm_lto" = "thin" || "$_use_llvm_lto" = "full" ]] || [ -n "$_use_k
|
|||
)
|
||||
fi
|
||||
|
||||
if [ "$_cpusched" = "sched-ext" ]; then
|
||||
if [[ "$_cpusched" = "sched-ext" || "$_cpusched" = "cachyos" ]]; then
|
||||
depends+=(scx-scheds)
|
||||
fi
|
||||
|
||||
|
|
@ -223,10 +226,11 @@ if [ -n "$_build_nvidia" ]; then
|
|||
"$_patchsource/misc/nvidia/nvidia-drm-hotplug-workqueue.patch")
|
||||
fi
|
||||
|
||||
## ToDo: Adjust for new Scheduler Changes
|
||||
## List of CachyOS schedulers
|
||||
case "$_cpusched" in
|
||||
cachyos) # CachyOS Scheduler (EEVDF + BORE)
|
||||
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;
|
||||
cachyos) # CachyOS Scheduler (BORE + SCHED-EXT)
|
||||
source+=("${_patchsource}/sched/0001-sched-ext.patch"
|
||||
"${_patchsource}/sched/0001-bore-cachy.patch");;
|
||||
bore) ## BORE Scheduler
|
||||
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;
|
||||
rt) ## EEVDF with RT patches
|
||||
|
|
@ -239,11 +243,15 @@ case "$_cpusched" in
|
|||
hardened) ## Hardened Patches with BORE Scheduler
|
||||
source+=("${_patchsource}/sched/0001-bore-cachy.patch"
|
||||
"${_patchsource}/misc/0001-hardened.patch");;
|
||||
sched-ext) ## Sched-ext with BORE
|
||||
source+=("${_patchsource}/sched/0001-sched-ext.patch"
|
||||
"${_patchsource}/sched/0001-bore-cachy.patch");;
|
||||
sched-ext) ## SCHED-EXT
|
||||
source+=("${_patchsource}/sched/0001-sched-ext.patch");;
|
||||
esac
|
||||
|
||||
# BORE Tuning Sysctl
|
||||
if [ -n "$_bore_tuning_sysctl" ]; then
|
||||
source+=("${_patchsource}/misc/bore-tuning-sysctl.patch")
|
||||
fi
|
||||
|
||||
## lrng patchset
|
||||
if [ -n "$_lrng_enable" ]; then
|
||||
source+=("${_patchsource}/misc/0001-lrng.patch")
|
||||
|
|
@ -300,11 +308,12 @@ prepare() {
|
|||
[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."
|
||||
|
||||
case "$_cpusched" in
|
||||
bore|hardened|cachyos) scripts/config -e SCHED_BORE;;
|
||||
cachyos) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;
|
||||
bore|hardened) scripts/config -e SCHED_BORE;;
|
||||
eevdf) ;;
|
||||
rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;
|
||||
rt-bore) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;
|
||||
sched-ext) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;
|
||||
sched-ext) scripts/config -e SCHED_CLASS_EXT;;
|
||||
*) _die "The value $_cpusched is invalid. Choose the correct one again.";;
|
||||
esac
|
||||
|
||||
|
|
@ -555,7 +564,7 @@ prepare() {
|
|||
### Disable DEBUG
|
||||
# Doesn't work with sched-ext
|
||||
# More infos here: https://github.com/CachyOS/linux-cachyos/issues/187
|
||||
if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
|
||||
if [[ "$_cpusched" != "sched-ext" || "$_cpusched" != "cachyos" ]] && [ -n "$_disable_debug" ]; then
|
||||
scripts/config -d DEBUG_INFO \
|
||||
-d DEBUG_INFO_BTF \
|
||||
-d DEBUG_INFO_DWARF4 \
|
||||
|
|
@ -821,7 +830,8 @@ for _p in "${pkgname[@]}"; do
|
|||
done
|
||||
|
||||
b2sums=('cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e'
|
||||
'da55af914e4d3e694009d534e89c8b73b23c174662a4bab6857b3e6ad51bb03a8d9ea7439e2dca2329fbeccbc6894e52ad90538649471e5b24328ecef7485575'
|
||||
'9c7b52c103a8506c027a28e81779ecba972f3c85f8917359282a6183d04d04407950ba55d3db13b285b722aafb68f308b16733e575e6b2f6e77b08682c7e5dc4'
|
||||
'43ef7a347878592740d9eb23b40a56083fa747f7700fa1e2c6d039d660c0b876d99bf1a3160e15d041fb13d45906cdb5defef034d4d0ae429911864239c94d8d'
|
||||
'c48424df455ac2c6bd7cf73d64a671e7541eab75e644a403ef8162adb913b34d51f52cfa1dbb162976d7b85ba4055390f1bb2f90cb539c2bdb5efec7eae270fc'
|
||||
'784371c03cce8d01eff2b94d55d084f73deedbad8724dba394c7a5b354d338f31c3114e16937afcaf40ec3e39608e0a905c4724c910bc85195a0fb985f62a626')
|
||||
'6a1718dcc5cb15a784175ec49b4abe52d5a2677bf574883dc0e9e8c4fd6904b1bb9fc0d9b15a60d968b50dde138fd3ffb0824baf125194d136117881c0d5e441'
|
||||
'e6b0b333a3e5c141f248abe05d5341458173c2343c1da52683c2421f22aa07bb76321808a35b9285cf4778f971a34a70869b29d787a3b39b202fdc1a8a225f1a'
|
||||
'0c8d56c54b589abf20691ac7c209f7a76f4a23ba754ac2f7e66ce4b5843b461a2e4b6799dd1acd1ac60292fa2938d8563513b79fc1dd2274c7153c324ae7d759')
|
||||
|
|
|
|||
8
config
8
config
|
|
@ -1,6 +1,6 @@
|
|||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/x86 6.7.0 Kernel Configuration
|
||||
# Linux/x86 6.7.1 Kernel Configuration
|
||||
#
|
||||
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.2.1 20231110"
|
||||
CONFIG_CC_IS_GCC=y
|
||||
|
|
@ -943,9 +943,9 @@ CONFIG_SOFTIRQ_ON_OWN_STACK=y
|
|||
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
|
||||
CONFIG_HAVE_ARCH_MMAP_RND_BITS=y
|
||||
CONFIG_HAVE_EXIT_THREAD=y
|
||||
CONFIG_ARCH_MMAP_RND_BITS=28
|
||||
CONFIG_ARCH_MMAP_RND_BITS=32
|
||||
CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
|
||||
CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8
|
||||
CONFIG_ARCH_MMAP_RND_COMPAT_BITS=16
|
||||
CONFIG_HAVE_ARCH_COMPAT_MMAP_BASES=y
|
||||
CONFIG_PAGE_SIZE_LESS_THAN_64KB=y
|
||||
CONFIG_PAGE_SIZE_LESS_THAN_256KB=y
|
||||
|
|
@ -10447,7 +10447,7 @@ CONFIG_BCACHEFS_FS=m
|
|||
CONFIG_BCACHEFS_QUOTA=y
|
||||
# CONFIG_BCACHEFS_ERASURE_CODING is not set
|
||||
CONFIG_BCACHEFS_POSIX_ACL=y
|
||||
CONFIG_BCACHEFS_DEBUG_TRANSACTIONS=y
|
||||
# CONFIG_BCACHEFS_DEBUG_TRANSACTIONS is not set
|
||||
# CONFIG_BCACHEFS_DEBUG is not set
|
||||
# CONFIG_BCACHEFS_TESTS is not set
|
||||
CONFIG_BCACHEFS_LOCK_TIME_STATS=y
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue