Compare commits

..

5 Commits
v6.0 ... v6.0.1

Author SHA1 Message Date
Sravan Balaji
ed07036c0f PDS Kernel Configuration 2022-10-10 19:09:00 -04:00
Ryan
c0f559bdf6 Add Tasktype to 6.0 (#622) 2022-10-10 17:01:38 +02:00
Tk-Glitch
b321569fee Update TT and BORE CPU schedulers patches URLs
Thanks @ptr1337, that'll be easier that way :)
2022-10-10 16:55:28 +02:00
Tk-Glitch
47e774e85f Protect some variable paths
Fixes https://github.com/Frogging-Family/linux-tkg/issues/620
2022-10-10 15:19:02 +02:00
ptr1337
13d7282016 Add bcachefs for 6.0 (#621)
Signed-off-by: Peter Jung <admin@ptr1337.dev>

Signed-off-by: Peter Jung <admin@ptr1337.dev>
2022-10-10 14:50:39 +02:00
3 changed files with 92479 additions and 23 deletions

View File

@@ -68,7 +68,7 @@ fi
optdepends=('schedtool')
options=('!strip' 'docs')
for f in $_where/linux-tkg-config/$_basekernel/* $_where/linux-tkg-patches/$_basekernel/*; do
for f in "$_where"/linux-tkg-config/"$_basekernel"/* "$_where"/linux-tkg-patches/"$_basekernel"/*; do
source+=( "$f" )
sha256sums+=( "SKIP" )
done
@@ -95,9 +95,9 @@ build() {
# Use custom compiler paths if defined
if [ "$_compiler_name" = "-llvm" ] && [ -n "${CUSTOM_LLVM_PATH}" ]; then
PATH=${CUSTOM_LLVM_PATH}/bin:${CUSTOM_LLVM_PATH}/lib:${CUSTOM_LLVM_PATH}/include:${PATH}
PATH="${CUSTOM_LLVM_PATH}/bin:${CUSTOM_LLVM_PATH}/lib:${CUSTOM_LLVM_PATH}/include:${PATH}"
elif [ -n "${CUSTOM_GCC_PATH}" ]; then
PATH=${CUSTOM_GCC_PATH}/bin:${CUSTOM_GCC_PATH}/lib:${CUSTOM_GCC_PATH}/include:${PATH}
PATH="${CUSTOM_GCC_PATH}/bin:${CUSTOM_GCC_PATH}/lib:${CUSTOM_GCC_PATH}/include:${PATH}"
fi
if [ "$_force_all_threads" = "true" ]; then

View File

@@ -297,7 +297,7 @@ _set_cpu_scheduler() {
elif [ "$_kver" = "519" ]; then
_avail_cpu_scheds=("cfs" "pds" "bmq" "cacule" "tt" "bore")
elif [ "$_kver" = "600" ]; then
_avail_cpu_scheds=("cfs" "pds" "bmq" "bore")
_avail_cpu_scheds=("cfs" "pds" "bmq" "tt" "bore")
else
_avail_cpu_scheds=("cfs")
fi
@@ -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

File diff suppressed because it is too large Load Diff