Quellcode durchsuchen

fix(action): apply SYSVIPC kABI patch for kernel version 6.12

TheWildJames vor 4 Monaten
Ursprung
Commit
134210b89f
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      .github/actions/droidspaces/action.yml

+ 1 - 0
.github/actions/droidspaces/action.yml

@@ -29,6 +29,7 @@ runs:
       run: |
         if [ "${{ inputs.kernel_version }}" == "6.12" ]; then
           cp ${{ github.workspace }}/Droidspaces-OSS/Documentation/resources/kernel-patches/GKI/kernel-6.12/001.GKI-6.12-or-above-fix_sysvipc_kabi.patch ./
+          patch -p1 < 001.GKI-6.12-or-above-fix_sysvipc_kabi.patch
         elif [ "${{ inputs.kernel_version }}" == "6.6" ] || [ "${{ inputs.kernel_version }}" == "6.1" ]; then
           #curl -L https://raw.githubusercontent.com/ravindu644/Droidspaces-OSS/main/Documentation/resources/kernel-patches/GKI/below-kernel-6.12/001.GKI-below-6.12-fix_sysvipc_kabi_1_2_3.patch
           #curl -L https://raw.githubusercontent.com/ravindu644/Droidspaces-OSS/main/Documentation/resources/kernel-patches/GKI/below-kernel-6.12/001.GKI-below-6.12-fix_sysvipc_kabi_3_4_5.patch