Browse Source

ci(build): remove outdated kernel patch condition

The patch condition for specific Android and kernel versions is no longer needed as it's been superseded by newer updates. This cleanup simplifies the build workflow.
TheWildJames 8 tháng trước cách đây
mục cha
commit
395c172781
1 tập tin đã thay đổi với 0 bổ sung7 xóa
  1. 0 7
      .github/workflows/build.yml

+ 0 - 7
.github/workflows/build.yml

@@ -297,13 +297,6 @@ jobs:
               echo "patching ksu_toolkit"
               patch -p1 < ksu_toolkit.patch
             fi
-            
-               [[ "${{ inputs.android_version }}" == "android13" && "${{ inputs.kernel_version }}" == "5.15" && "${{ inputs.os_patch_level }}" != "2024-05" && $ACTUAL_SUBLEVEL -le 148 ]] ||
-               [[ "${{ inputs.android_version }}" == "android14" && "${{ inputs.kernel_version }}" == "5.15" && "${{ inputs.os_patch_level }}" != "2024-05" && $ACTUAL_SUBLEVEL -le 148 ]] ||
-               [[ "${{ inputs.android_version }}" == "android14" && "${{ inputs.kernel_version }}" == "6.1" && "${{ inputs.os_patch_level }}" != "2024-05" && $ACTUAL_SUBLEVEL -le 75 ]]; then
-              sed -i -e 's/goto show_pad;/return 0;/' ./fs/proc/task_mmu.c
-            fi
-
 
             cd "$KERNEL_ROOT/common"
             cp "$SUSFS4KSU/kernel_patches/fs/"* "$KERNEL_ROOT/common/fs/"