diff --git a/script-v3-v4.sh b/script-v3-v4.sh index 4ac38460..fc99eba4 100755 --- a/script-v3-v4.sh +++ b/script-v3-v4.sh @@ -3,7 +3,7 @@ find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_auto_optimization-y/_use_au ## Enable ZFS find . -name "PKGBUILD" | xargs -I {} sed -i "s/_build_zfs-/_build_zfs-y/" {} ## Enable Generic v3 -find . -name "config" | xargs -I {} sed -i 's/GENERIC_CPU=y/GENERIC_CPU3=y/' {} +find . -name "PKGBUILD" | xargs -I {} sed -i "s/_processor_opt-/_processor_opt-GENERIC_CPU3/" {} ## Enable NVIDIA module find . -name "PKGBUILD" | xargs -I {} sed -i "s/_build_nvidia-/_build_nvidia-y/" {} ## Enable Open NVIDIA module @@ -44,7 +44,7 @@ repoctl update -P cachyos-v3 ## GCC v4 Kernel find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_llvm_lto-thin/_use_llvm_lto-none/" {} -find . -name "config" | xargs -I {} sed -i 's/GENERIC_CPU3=y/GENERIC_CPU4=y/' {} +find . -name "PKGBUILD" | xargs -I {} sed -i "s/_processor_opt-GENERIC_CPU3/_processor_opt-GENERIC_CPU4/" {} files=$(find . -name "PKGBUILD") diff --git a/script-znver4.sh b/script-znver4.sh index 40d4a054..b5d0b6f8 100755 --- a/script-znver4.sh +++ b/script-znver4.sh @@ -2,8 +2,8 @@ find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_auto_optimization-y/_use_auto_optimization-/" {} ## Enable ZFS find . -name "PKGBUILD" | xargs -I {} sed -i "s/_build_zfs-/_build_zfs-y/" {} -## Enable Generic v3 -find . -name "config" | xargs -I {} sed -i 's/GENERIC_CPU=y/GENERIC_MZEN4=y/' {} +## Enable Zen 4 +find . -name "PKGBUILD" | xargs -I {} sed -i "s/_processor_opt-/_processor_opt-zen4/" {} ## Enable NVIDIA module find . -name "PKGBUILD" | xargs -I {} sed -i "s/_build_nvidia-/_build_nvidia-y/" {} ## Enable Open NVIDIA module