Explorar el Código

ci: update KernelSU-Next repository URL and add SUSFS patch step

Update the repository URL for cloning KernelSU-Next from pershoot's fork to the official organization repository. Also add a new step to apply SUSFS patches during the kernel build workflow.
TheWildJames hace 4 meses
padre
commit
289ac32b66
Se han modificado 2 ficheros con 7 adiciones y 1 borrados
  1. 6 0
      .github/actions/susfs/action.yml
  2. 1 1
      .github/actions/wksu/action.yml

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

@@ -87,3 +87,9 @@ runs:
         cp ${{ github.workspace }}/susfs4ksu/kernel_patches/50_add_susfs_in_gki-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch ./
         patch -p1 < 50_add_susfs_in_gki-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch || true
 
+    - name: Apply KSU SUSFS Patches
+      shell: bash
+      working-directory: ${{ github.workspace }}/kernel/KernelSU-Next
+      run: |
+        cp ${{ github.workspace }}/kernel_patches/wild/susfs_fix_patches/${SUSFS_VERSION}/susfs_v2.1.0.patch ./
+        patch -p1 < susfs_v2.1.0.patch

+ 1 - 1
.github/actions/wksu/action.yml

@@ -14,7 +14,7 @@ runs:
       working-directory: ${{ github.workspace }}/kernel
       run: |
         # Clone the repository
-        curl -LSs "https://raw.githubusercontent.com/pershoot/KernelSU-Next/dev-susfs/kernel/setup.sh" | bash -s dev-susfs
+        curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/dev/kernel/setup.sh" | bash -s dev
         
         cd KernelSU-Next/kernel