Put Clearlinux patches behind a toggle in .cfg, allowing them to be disabled
This commit is contained in:
@@ -229,6 +229,9 @@ _tcp_cong_alg=""
|
|||||||
# You can pass a default set of kernel command line options here - example: "intel_pstate=passive nowatchdog amdgpu.ppfeaturemask=0xfffd7fff mitigations=off"
|
# You can pass a default set of kernel command line options here - example: "intel_pstate=passive nowatchdog amdgpu.ppfeaturemask=0xfffd7fff mitigations=off"
|
||||||
_custom_commandline="intel_pstate=passive"
|
_custom_commandline="intel_pstate=passive"
|
||||||
|
|
||||||
|
# Selection of Clearlinux patches
|
||||||
|
_clear_patches="true"
|
||||||
|
|
||||||
|
|
||||||
#### SPESHUL OPTION ####
|
#### SPESHUL OPTION ####
|
||||||
|
|
||||||
|
@@ -482,8 +482,10 @@ _tkg_srcprep() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# TkG
|
# TkG
|
||||||
tkgpatch="$srcdir/0002-clear-patches.patch"
|
if [ "$_clear_patches" = "true" ]; then
|
||||||
_msg="Applying clear linux patches" && _tkg_patcher
|
tkgpatch="$srcdir/0002-clear-patches.patch"
|
||||||
|
_msg="Applying clear linux patches" && _tkg_patcher
|
||||||
|
fi
|
||||||
|
|
||||||
tkgpatch="$srcdir/0003-glitched-base.patch"
|
tkgpatch="$srcdir/0003-glitched-base.patch"
|
||||||
_msg="Applying glitched base patch" && _tkg_patcher
|
_msg="Applying glitched base patch" && _tkg_patcher
|
||||||
|
Reference in New Issue
Block a user