Allow disabling glitched-base patchset
This commit is contained in:
@@ -171,7 +171,11 @@ _winesync="false"
|
|||||||
# Set to "true" to enable Binder modules to use Waydroid Android containers
|
# Set to "true" to enable Binder modules to use Waydroid Android containers
|
||||||
_waydroid=""
|
_waydroid=""
|
||||||
|
|
||||||
|
# Various patches and tweaks from Zen/Liquorix, Xanmod and the community - Default is "true"
|
||||||
|
_glitched_base="true"
|
||||||
|
|
||||||
# A selection of patches from Zen/Liquorix kernel and additional tweaks for a better gaming experience (ZENIFY) - Default is "true"
|
# A selection of patches from Zen/Liquorix kernel and additional tweaks for a better gaming experience (ZENIFY) - Default is "true"
|
||||||
|
# ! depends on _glitched_base="true" !
|
||||||
_zenify="true"
|
_zenify="true"
|
||||||
|
|
||||||
# compiler optimization level - 1. Optimize for performance (-O2); 2. Optimize harder (-O3); 3. Optimize for size (-Os) - Kernel default is "1"
|
# compiler optimization level - 1. Optimize for performance (-O2); 2. Optimize harder (-O3); 3. Optimize for size (-Os) - Kernel default is "1"
|
||||||
|
@@ -691,8 +691,10 @@ _tkg_srcprep() {
|
|||||||
_msg="Applying clear linux patches" && _tkg_patcher
|
_msg="Applying clear linux patches" && _tkg_patcher
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tkgpatch="$srcdir/0003-glitched-base.patch"
|
if [ "$_glitched_base" = "true" ]; then
|
||||||
_msg="Applying glitched base patch" && _tkg_patcher
|
tkgpatch="$srcdir/0003-glitched-base.patch"
|
||||||
|
_msg="Applying glitched base patch" && _tkg_patcher
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${_preempt_rt}" != "1" ]; then
|
if [ "${_preempt_rt}" != "1" ]; then
|
||||||
tkgpatch="$srcdir/0003-glitched-base-nonrt.patch"
|
tkgpatch="$srcdir/0003-glitched-base-nonrt.patch"
|
||||||
@@ -1201,9 +1203,9 @@ _tkg_srcprep() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# zenify
|
# zenify
|
||||||
if [ "$_zenify" = "false" ]; then
|
if [ "$_zenify" = "false" ] || [ "$_glitched_base" = "false" ]; then
|
||||||
_disable "ZENIFY"
|
_disable "ZENIFY"
|
||||||
else
|
elif [ "$_zenify" = "true" ] && [ "$_glitched_base" = "true" ]; then
|
||||||
_enable "ZENIFY"
|
_enable "ZENIFY"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user