linux515: Update links for tt scheduler

This commit is contained in:
Tk-Glitch
2022-08-12 21:04:30 +02:00
parent c24f518435
commit d66319e0c3

View File

@@ -618,7 +618,7 @@ _tkg_srcprep() {
_msg="Applying TT patch" _msg="Applying TT patch"
if [ "${_distro}" = "Void" ]; then if [ "${_distro}" = "Void" ]; then
if [[ $_basever = 515 ]]; then if [[ $_basever = 515 ]]; then
curl "https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_basekernel}/TT/0001-tt-r3.patch" > "$wrksrc"/tt.patch curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/TT/0001-tt-${_basekernel}.patch" > "$srcdir"/tt.patch
elif [[ $_basever = 517 ]] || [[ $_basever = 519 ]]; then elif [[ $_basever = 517 ]] || [[ $_basever = 519 ]]; then
curl "https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_basekernel}/sched/0001-tt.patch" > "$wrksrc"/tt.patch curl "https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_basekernel}/sched/0001-tt.patch" > "$wrksrc"/tt.patch
else else
@@ -627,7 +627,7 @@ _tkg_srcprep() {
tkgpatch="$wrksrc/tt.patch" && _tkg_patcher tkgpatch="$wrksrc/tt.patch" && _tkg_patcher
else else
if [[ $_basever = 515 ]]; then if [[ $_basever = 515 ]]; then
curl "https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_basekernel}/TT/0001-tt-r3.patch" > "$srcdir"/tt.patch curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/TT/0001-tt-${_basekernel}.patch" > "$srcdir"/tt.patch
elif [[ $_basever = 517 ]] || [[ $_basever = 519 ]]; then elif [[ $_basever = 517 ]] || [[ $_basever = 519 ]]; then
curl "https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_basekernel}/sched/0001-tt.patch" > "$srcdir"/tt.patch curl "https://raw.githubusercontent.com/ptr1337/kernel-patches/master/${_basekernel}/sched/0001-tt.patch" > "$srcdir"/tt.patch
else else