linux511-tkg: Import Project C PDS/BMQ v5.11-r0 patchset - http://cchalpha.blogspot.com/2021/02/project-c-v511-r0-release.html
This commit is contained in:
@@ -141,6 +141,8 @@ _tkg_initscript() {
|
||||
prompt="`echo $' > 1.Undead PDS (TkG)\n 2.Project C / PDS\n 3.Project C / BMQ\n 4.CFS\nchoice[1-4?]: '`"
|
||||
elif [ "$_basever" = "59" ] || [ "$_basever" = "510" ]; then
|
||||
prompt="`echo $' > 1.Undead PDS (TkG)\n 2.Project C / PDS\n 3.Project C / BMQ\n 4.MuQSS\n 5.CFS\nchoice[1-5?]: '`"
|
||||
elif [ "$_basever" = "511" ]; then
|
||||
prompt="`echo $' > 1.Project C / PDS\n 2.Project C / BMQ\n 3.CFS\nchoice[1-3?]: '`"
|
||||
else
|
||||
prompt="`echo $' > 1.CFS\nchoice[1-1?]: '`"
|
||||
fi
|
||||
@@ -156,6 +158,8 @@ _tkg_initscript() {
|
||||
elif [ "$CONDITION" = "3" ]; then
|
||||
if [ "$_basever" = "54" ] || [ "$_basever" = "57" ] || [ "$_basever" = "58" ] || [ "$_basever" = "59" ] || [ "$_basever" = "510" ]; then
|
||||
echo "_cpusched=\"bmq\"" > "${_path}"/cpuschedset
|
||||
elif [ "$_basever" = "511" ]; then
|
||||
echo "_cpusched=\"cfs\"" > "${_path}"/cpuschedset
|
||||
else
|
||||
echo "_cpusched=\"MuQSS\"" > "${_path}"/cpuschedset
|
||||
fi
|
||||
@@ -170,8 +174,6 @@ _tkg_initscript() {
|
||||
else
|
||||
if [ "$_basever" = "58" ] || [ "$_basever" = "59" ] || [ "$_basever" = "510" ]; then
|
||||
echo "_cpusched=\"upds\"" > "${_path}"/cpuschedset
|
||||
elif [ "$_basever" = "511" ]; then
|
||||
echo "_cpusched=\"cfs\"" > "${_path}"/cpuschedset
|
||||
else
|
||||
echo "_cpusched=\"pds\"" > "${_path}"/cpuschedset
|
||||
fi
|
||||
@@ -205,10 +207,10 @@ _tkg_initscript() {
|
||||
echo "_custom_pkgbase=\"${_custom_pkgbase}\"" >> "${_path}"/cpuschedset
|
||||
fi
|
||||
|
||||
if [ "$_basever" = "511" ] && [ "$_cpusched" != "cfs" ]; then
|
||||
warning "No support for alternative CPU schedulers on this kernel version. Defaulting to CFS."
|
||||
echo "_cpusched=\"cfs\"" > "${_path}"/cpuschedset
|
||||
fi
|
||||
#if [ "$_basever" = "511" ] && [ "$_cpusched" != "cfs" ]; then
|
||||
# warning "No support for alternative CPU schedulers on this kernel version. Defaulting to CFS."
|
||||
# echo "_cpusched=\"cfs\"" > "${_path}"/cpuschedset
|
||||
#fi
|
||||
|
||||
case $_compileroptlevel in
|
||||
"2")
|
||||
|
Reference in New Issue
Block a user