TheWildJames 4 kuukautta sitten
vanhempi
sitoutus
ae896ccac2
2 muutettua tiedostoa jossa 1 lisäystä ja 30 poistoa
  1. 0 26
      .github/actions/susfs/action.yml
  2. 1 4
      .github/actions/wksu/action.yml

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

@@ -59,11 +59,6 @@ runs:
         SUSFS_VERSION="v2.1.0"
         echo "SUSFS_VERSION=$SUSFS_VERSION" >> $GITHUB_ENV
 
-        cd susfs4ksu
-        if [ ${{ inputs.android_version }} == "android14" && [ ${{ inputs.kernel_version }} == "6.1" ]; then
-          git checkout 971cc4e770b7f344a4df35ce92d7a859e6a1e0fd
-        fi
-
     - name: Enable KernelSU SUSFS Config
       shell: bash
       working-directory: ${{ github.workspace }}/kernel
@@ -92,24 +87,3 @@ 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: |
-        set -e
-        echo "Applying SUSFS patches for version: $SUSFS_VERSION"
-        cp "${{ github.workspace }}/susfs4ksu/kernel_patches/KernelSU/10_enable_susfs_for_ksu.patch" "${{ github.workspace }}/kernel/KernelSU-Next"
-        patch -p1 --forward < "10_enable_susfs_for_ksu.patch" || true
-        echo "Patching remaining files..."
-        for file in $(find ./kernel -maxdepth 2 -name "*.rej" -exec basename {} .rej \;); do
-          cp "${{ github.workspace }}/kernel_patches/next/susfs_fix_patches/$SUSFS_VERSION/fix_${file}.patch" "${{ github.workspace }}/kernel/KernelSU-Next"
-          patch -p1 --forward < "fix_${file}.patch" || true
-        done
-        echo "Patching remaining files 2..."
-      
-        cp "${{ github.workspace }}/kernel_patches/next/susfs_fix_patches/$SUSFS_VERSION/overwrite_hook_mode.patch" "${{ github.workspace }}/kernel/KernelSU-Next"
-        patch -p1 --forward < "overwrite_hook_mode.patch"
-
-        cp "${{ github.workspace }}/kernel_patches/next/susfs_fix_patches/$SUSFS_VERSION/ksu_toolkit.patch" "${{ github.workspace }}/kernel/KernelSU-Next"
-        patch -p1 --forward < "ksu_toolkit.patch"
-        

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

@@ -14,10 +14,7 @@ runs:
       working-directory: ${{ github.workspace }}/kernel
       run: |
         # Clone the repository
-        #curl -LSs "https://raw.githubusercontent.com/WildKernels/Wild_KSU/stable/kernel/setup.sh" | bash -s ${{ inputs.ksu_commit }}
-        #curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/dev/kernel/setup.sh" | bash -s dev
-        #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 551ad80473f60e052917aec08abf5323b6ab2f7c
+        curl -LSs "https://raw.githubusercontent.com/pershoot/KernelSU-Next/dev-susfs/kernel/setup.sh" | bash -s dev-susfs
         
         cd KernelSU-Next/kernel