Initial 6.8 RC support
This commit is contained in:
14
linux-tkg-config/6.8/90-cleanup.hook
Normal file
14
linux-tkg-config/6.8/90-cleanup.hook
Normal file
@@ -0,0 +1,14 @@
|
||||
[Trigger]
|
||||
Type = File
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Operation = Remove
|
||||
Target = usr/lib/modules/*/
|
||||
Target = !usr/lib/modules/*/?*
|
||||
|
||||
[Action]
|
||||
Description = Cleaning up...
|
||||
When = PostTransaction
|
||||
Exec = /usr/share/libalpm/scripts/cleanup
|
||||
NeedsTargets
|
||||
|
10
linux-tkg-config/6.8/cleanup
Executable file
10
linux-tkg-config/6.8/cleanup
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
for _f in /usr/lib/modules/*tkg*; do
|
||||
if [[ ! -e ${_f}/vmlinuz ]]; then
|
||||
rm -rf "$_f"
|
||||
fi
|
||||
done
|
||||
|
||||
# vim:set ft=sh sw=2 et:
|
||||
|
11746
linux-tkg-config/6.8/config.x86_64
Normal file
11746
linux-tkg-config/6.8/config.x86_64
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# List of kernels that are maintained upstream
|
||||
_current_kernels=("6.7" "6.6" "6.5" "6.4" "6.1" "5.15")
|
||||
_current_kernels=("6.8" "6.7" "6.6" "6.5" "6.4" "6.1" "5.15")
|
||||
|
||||
# List of kernels that are no longer maintained either upstream or locally
|
||||
_eol_kernels=("6.3" "6.2" "6.0" "5.19" "5.18" "5.17" "5.16" "5.14" "5.13" "5.12" "5.11" "5.9" "5.8" "5.7" "5.4.230" "5.10.135")
|
||||
@@ -315,6 +315,8 @@ _set_cpu_scheduler() {
|
||||
_avail_cpu_scheds=("eevdf" "bore" "pds" "bmq")
|
||||
elif [ "$_kver" = "607" ]; then
|
||||
_avail_cpu_scheds=("eevdf" "bore" "pds" "bmq")
|
||||
elif [ "$_kver" = "608" ]; then
|
||||
_avail_cpu_scheds=("eevdf" "bore")
|
||||
else
|
||||
_avail_cpu_scheds=("$_default_cpu_sched")
|
||||
fi
|
||||
@@ -677,7 +679,7 @@ _tkg_srcprep() {
|
||||
|
||||
curl "https://raw.githubusercontent.com/graysky2/kernel_compiler_patch/master/${_outdated}${_patch_name}.patch" > "$srcdir"/"${_patch_name}".patch || true
|
||||
tkgpatch="${_patch_location}/${_patch_name}.patch"
|
||||
if [ -e "$tkgpatch" ]; then
|
||||
if [ -e "$tkgpatch" ] && [ "$_kver" != "608" ]; then
|
||||
_msg="Applying graysky's cpu opts patch" && _tkg_patcher
|
||||
else
|
||||
msg2 "Couldn't find graysky's cpu opts patch for this version"
|
||||
|
Reference in New Issue
Block a user