Update TT and BORE CPU schedulers patches URLs
Thanks @ptr1337, that'll be easier that way :)
This commit is contained in:
@@ -804,22 +804,10 @@ _tkg_srcprep() {
|
|||||||
elif [ "${_cpusched}" = "tt" ]; then
|
elif [ "${_cpusched}" = "tt" ]; then
|
||||||
_msg="Applying TT patch"
|
_msg="Applying TT patch"
|
||||||
if [ "${_distro}" = "Void" ]; then
|
if [ "${_distro}" = "Void" ]; then
|
||||||
if [[ $_kver = 515 ]]; then
|
curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/sched/0001-tt.patch" > "$wrksrc"/tt.patch
|
||||||
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
|
|
||||||
tkgpatch="$wrksrc/tt.patch" && _tkg_patcher
|
tkgpatch="$wrksrc/tt.patch" && _tkg_patcher
|
||||||
else
|
else
|
||||||
if [[ $_kver = 515 ]]; then
|
curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/sched/0001-tt.patch" > "$srcdir"/tt.patch
|
||||||
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
|
|
||||||
tkgpatch="$srcdir/tt.patch" && _tkg_patcher
|
tkgpatch="$srcdir/tt.patch" && _tkg_patcher
|
||||||
fi
|
fi
|
||||||
if [ "$_tt_high_hz" = "true" ] && [ $_kver = 515 ]; then
|
if [ "$_tt_high_hz" = "true" ] && [ $_kver = 515 ]; then
|
||||||
@@ -834,14 +822,11 @@ _tkg_srcprep() {
|
|||||||
fi
|
fi
|
||||||
elif [ "${_cpusched}" = "bore" ]; then
|
elif [ "${_cpusched}" = "bore" ]; then
|
||||||
_msg="Applying BORE patch"
|
_msg="Applying BORE patch"
|
||||||
if [ "$_kver" = "518" ]; then
|
|
||||||
_bore_suffix="-sched"
|
|
||||||
fi
|
|
||||||
if [ "${_distro}" = "Void" ]; then
|
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
|
tkgpatch="$wrksrc/0001-bore.patch" && _tkg_patcher
|
||||||
else
|
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
|
tkgpatch="$srcdir/0001-bore.patch" && _tkg_patcher
|
||||||
fi
|
fi
|
||||||
elif [ "${_cpusched}" = "cfs" ]; then
|
elif [ "${_cpusched}" = "cfs" ]; then
|
||||||
|
Reference in New Issue
Block a user