소스 검색

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

TheWildJames 1 개월 전
부모
커밋
ae614bb562
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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