Просмотр исходного кода

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 год назад
Родитель
Сommit
37b1e40421
1 измененных файлов с 5 добавлено и 5 удалено
  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