Skip to content

Archlinux Kernel based on different schedulers and some other performance improvements.

Fixup script, fix linux-cachyos-rc

Peter Jung1521383928e3
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index 1a84aa03..65a00389 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -177,7 +177,7 @@ _nest=${_nest-}
# You need to configure ananicy-cpp for this or use existing settings
# If you want to test it, use the following branch
# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice
-_latency_nice=y
+_latncy_nice=${_latncy-nice-y}
if [[ -n "$_use_llvm_lto" && -n "$_rtkernel" ]]; then
pkgsuffix=cachyos-rt-rc-lto
diff --git a/script.sh b/script.sh
index fcba572e..9589e6f1 100755
--- a/script.sh
+++ b/script.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_auto_optimization=y/_use_auto_optimization=/" {}
-find . -name "PKGBUILD" | xargs -I {} sed -i "s/_build_zfs=/_build_zfs=y/" {}
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_auto_optimization-y/_use_auto_optimization-/" {}
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_build_zfs-/_build_zfs-y/" {}
#find . -name "PKGBUILD" | xargs -I {} sed -i "s/_bcachefs=/_bcachefs=y/" {} # breaks probably /proc/meminfo
find . -name "config" | xargs -I {} sed -i 's/GENERIC_CPU=y/GENERIC_CPU3=y/' {}
@@ -17,7 +17,7 @@ do
cd ..
done
-find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_llvm_lto=/_use_llvm_lto=thin/" {}
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_llvm_lto-/_use_llvm_lto-thin/" {}
## LLVM v3 Kernel
@@ -53,7 +53,7 @@ done
## Generic Kernel
-find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_llvm_lto=thin/_use_llvm_lto=/" {}
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_llvm_lto-thin/_use_llvm_lto-/" {}
files=$(find . -name "PKGBUILD")