Explorar o código

fix(ntsync): apply lockdep 0002 patch for android13-5.10 sublevel ≤ 210

TheWildJames hai 1 mes
pai
achega
ae614bb562
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .github/actions/ntsync/action.yml

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

@@ -31,7 +31,7 @@ runs:
           patch -p1 -N < ${{ github.action_path }}/patches/0001-lockdep-detect-recursive-read.patch
         fi
 
-        if [[ ${{ inputs.version }} == "android12-5.10" && "${{ inputs.sublevel }}" -le "209" ]]; then
+        if [[ ( "${{ inputs.version }}" == "android12-5.10" && "${{ inputs.sublevel }}" -le "209" ) || ( "${{ inputs.version }}" == "android13-5.10" && "${{ inputs.sublevel }}" -le "210" ) ]]; then
           patch -p1 -N < ${{ github.action_path }}/patches/0002-lockdep-assert-none-held.patch
         fi