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

fix(action): remove redundant Apply Kernel SUSFS Patches step and adjust conditional logic for Android 12 5.10

TheWildJames 4 месяцев назад
Родитель
Сommit
0848dd1327
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      .github/actions/susfs/action.yml

+ 6 - 1
.github/actions/susfs/action.yml

@@ -216,7 +216,12 @@ runs:
           sed -i '/^#include <linux\/ksh.h>$/a #include <linux/dma-buf.h>' fs/exec.c
           sed -i '/^#include <linux\/ksh.h>$/a #include <linux/dma-buf.h>' fs/exec.c
           FIX_REJ=1
           FIX_REJ=1
         fi
         fi
-        
+
+    - name: Apply Kernel SUSFS Patches
+      shell: bash
+      if: false
+      working-directory: ${{ github.workspace }}/kernel/common
+      run: |
         SHOW_PAD_FIX=0
         SHOW_PAD_FIX=0
         if [[ "${{ inputs.android_version }}" = "android12" && "${{ inputs.kernel_version }}" = "5.10" && "${{ inputs.sublevel }}" -le 209 ]]; then
         if [[ "${{ inputs.android_version }}" = "android12" && "${{ inputs.kernel_version }}" = "5.10" && "${{ inputs.sublevel }}" -le 209 ]]; then
           SHOW_PAD_FIX=1
           SHOW_PAD_FIX=1