Przeglądaj źródła

ci(build): comment out fix_rules.c.patch for all builds

The patch is no longer needed for any Android version or kernel version, so we're removing the conditional logic and commenting out the patch application entirely.
TheWildJames 1 rok temu
rodzic
commit
37b1e40421
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      .github/workflows/build.yml

+ 5 - 5
.github/workflows/build.yml

@@ -180,11 +180,11 @@ jobs:
           cp ../../kernel_patches/wild/susfs_fix_patches/v1.5.9/fix_core_hook.c.patch ./
           patch -p1 --forward --fuzz=3 < fix_core_hook.c.patch
           
-          # Skip fix_rules.c.patch for Android 14 with kernel 6.1
-          if [ "${{ inputs.android_version }}" != "android14" ] && [ "${{ inputs.kernel_version }}" != "6.1" ]; then
-            cp ../../kernel_patches/wild/susfs_fix_patches/v1.5.9/fix_rules.c.patch ./
-            patch -p1 --forward < fix_rules.c.patch
-          fi
+          ## Skip fix_rules.c.patch for Android 14 with kernel 6.1
+          #if [ "${{ inputs.android_version }}" != "android14" ] && [ "${{ inputs.kernel_version }}" != "6.1" ]; then
+          #  cp ../../kernel_patches/wild/susfs_fix_patches/v1.5.9/fix_rules.c.patch ./
+          #  patch -p1 --forward < fix_rules.c.patch
+          #fi
 
           cp ../../kernel_patches/wild/susfs_fix_patches/v1.5.9/fix_sucompat.c.patch ./
           patch -p1 --forward < fix_sucompat.c.patch