diff --git a/customization.cfg b/customization.cfg index c064706..f2b40e9 100644 --- a/customization.cfg +++ b/customization.cfg @@ -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" _custom_commandline="intel_pstate=passive" +# Selection of Clearlinux patches +_clear_patches="true" + #### SPESHUL OPTION #### diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index efc6178..4379e9a 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -482,8 +482,10 @@ _tkg_srcprep() { fi # TkG - tkgpatch="$srcdir/0002-clear-patches.patch" - _msg="Applying clear linux patches" && _tkg_patcher + if [ "$_clear_patches" = "true" ]; then + tkgpatch="$srcdir/0002-clear-patches.patch" + _msg="Applying clear linux patches" && _tkg_patcher + fi tkgpatch="$srcdir/0003-glitched-base.patch" _msg="Applying glitched base patch" && _tkg_patcher