Browse Source

ci(workflows): streamline SUSFS patch application in build workflow

Refactor the build workflow to simplify the application of SUSFS patches by directly copying and applying all relevant patches without conditional checks. This change enhances the efficiency and clarity of the patching process, ensuring consistent application across builds.
TheWildJames 9 months ago
parent
commit
532266f65b
2 changed files with 4 additions and 3 deletions
  1. 4 1
      .github/workflows/build.yml
  2. 0 2
      .gitignore

+ 4 - 1
.github/workflows/build.yml

@@ -298,7 +298,10 @@ jobs:
             patch -p1 < fix_kernel_compat.c.patch
             ;;
           Next)
-            # Your Next-specific code goes here
+            cp "$KERNEL_PATCHES/next/susfs_fix_patches/v${SUSFS_VERSION}/*" ./
+            for patch in ./*.patch; do
+              patch -p1 < "$patch" || true
+            done
             ;;
           KSU)
             # Your KSU-specific code goes here

+ 0 - 2
.gitignore

@@ -1,4 +1,2 @@
 download.sh
-common-2025-09
-common-lts
 patch-rejects