xanmod-kernel-WSL2 icon indicating copy to clipboard operation
xanmod-kernel-WSL2 copied to clipboard

RFC: OMG! They ACTUALLY Made config.sh USEFUL?! (Recursive Patching UNLOCKED!)

Open taalojarvi opened this issue 8 months ago • 1 comments

This pull request introduces two improvements to the patching script (config.sh):

Unified Script & LTS Build Handling:

  • Unifies config.sh across LTS and non-LTS builds. Previously, a separate script (config-lts.sh) existed for LTS builds that omitted a specific patch.
  • Patches can be skipped for LTS builds by appending "_skip_lts" to the patch filename

Improved Patch Management:

  • Moves all patches to a dedicated subdirectory within the project structure.
  • Updates config.sh to recursively apply patches from this subdirectory.
  • Removes the redundant config-lts.sh script and all references to it.

Benefits

  • Simplifies script maintenance by having a single config.sh script.
  • Provides a more robust and flexible way to manage patches.

Detailed build log available here.

taalojarvi avatar Jun 28 '24 21:06 taalojarvi