TheWildJames 1 月之前
父節點
當前提交
df720071d1
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. 8 2
      .github/actions/ntsync/action.yml

+ 8 - 2
.github/actions/ntsync/action.yml

@@ -26,9 +26,15 @@ runs:
           rm -f drivers/misc/ntsync.c
           rm -f drivers/misc/ntsync.c
         fi
         fi
 
 
+        #if [[ ( ${{ inputs.version }} == "android12-5.10" && "${{ inputs.sublevel }}" -le "208" ) || ( ${{ inputs.version }} = "android13-5.10" && "${{ inputs.sublevel }}" -le "210" ) ]]; then
+        #  patch -p1 -N < ${{ github.action_path }}/patches/0001-lockdep-mark-local_lock_t.patch
+        #fi
+
+        #if [[ ( ${{ inputs.version }} == "android12-5.10" && "${{ inputs.sublevel }}" -le "208" ) || ( ${{ inputs.version }} = "android13-5.10" && "${{ inputs.sublevel }}" -le "210" ) ]]; then
+        #  patch -p1 -N < ${{ github.action_path }}/patches/0002-lockdep-fix-init-map-confusion.patch
+        #fi
+
         if [[ ( ${{ inputs.version }} == "android12-5.10" && "${{ inputs.sublevel }}" -le "208" ) || ( ${{ inputs.version }} = "android13-5.10" && "${{ inputs.sublevel }}" -le "210" ) ]]; then
         if [[ ( ${{ inputs.version }} == "android12-5.10" && "${{ inputs.sublevel }}" -le "208" ) || ( ${{ inputs.version }} = "android13-5.10" && "${{ inputs.sublevel }}" -le "210" ) ]]; then
-          patch -p1 -N < ${{ github.action_path }}/patches/0001-lockdep-mark-local_lock_t.patch
-          patch -p1 -N < ${{ github.action_path }}/patches/0002-lockdep-fix-init-map-confusion.patch
           patch -p1 -N < ${{ github.action_path }}/patches/0003-lockdep-assert-none-held.patch
           patch -p1 -N < ${{ github.action_path }}/patches/0003-lockdep-assert-none-held.patch
         fi
         fi