From b321569feebf171d76f8ac73ab56d1926c6ad684 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Mon, 10 Oct 2022 16:55:28 +0200 Subject: [PATCH] Update TT and BORE CPU schedulers patches URLs Thanks @ptr1337, that'll be easier that way :) --- linux-tkg-config/prepare | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 76600b1..a08492c 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -804,22 +804,10 @@ _tkg_srcprep() { elif [ "${_cpusched}" = "tt" ]; then _msg="Applying TT patch" if [ "${_distro}" = "Void" ]; then - if [[ $_kver = 515 ]]; then - curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/TT/0001-tt-${_basekernel}.patch" > "$srcdir"/tt.patch - elif [[ $_kver = 517 ]] || [[ $_kver = 519 ]]; then - curl "https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_basekernel}/sched/0001-tt.patch" > "$wrksrc"/tt.patch - else - curl "https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_basekernel}/sched/0001-tt-${_basekernel}.patch" > "$wrksrc"/tt.patch - fi + curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/sched/0001-tt.patch" > "$wrksrc"/tt.patch tkgpatch="$wrksrc/tt.patch" && _tkg_patcher else - if [[ $_kver = 515 ]]; then - curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/TT/0001-tt-${_basekernel}.patch" > "$srcdir"/tt.patch - elif [[ $_kver = 517 ]] || [[ $_kver = 519 ]]; then - curl "https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_basekernel}/sched/0001-tt.patch" > "$srcdir"/tt.patch - else - curl "https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_basekernel}/sched/0001-tt-${_basekernel}.patch" > "$srcdir"/tt.patch - fi + curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/sched/0001-tt.patch" > "$srcdir"/tt.patch tkgpatch="$srcdir/tt.patch" && _tkg_patcher fi if [ "$_tt_high_hz" = "true" ] && [ $_kver = 515 ]; then @@ -834,14 +822,11 @@ _tkg_srcprep() { fi elif [ "${_cpusched}" = "bore" ]; then _msg="Applying BORE patch" - if [ "$_kver" = "518" ]; then - _bore_suffix="-sched" - fi if [ "${_distro}" = "Void" ]; then - curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/sched/0001-bore$_bore_suffix.patch" > "$wrksrc"/0001-bore.patch + curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/sched/0001-bore.patch" > "$wrksrc"/0001-bore.patch tkgpatch="$wrksrc/0001-bore.patch" && _tkg_patcher else - curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/sched/0001-bore$_bore_suffix.patch" > "$srcdir"/0001-bore.patch + curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/sched/0001-bore.patch" > "$srcdir"/0001-bore.patch tkgpatch="$srcdir/0001-bore.patch" && _tkg_patcher fi elif [ "${_cpusched}" = "cfs" ]; then