Kaynağa Gözat

btf: re-enable resolve_btfids ELF_T_WORD endian fix (0004)

Verified the patch applies cleanly to the android12-5.10 sublevel-43 tree
(kernels/2021-10) and is correctly rejected as already-applied on the
sublevel-66 tree (kernels/2021-11), so the action's grep-guard stays
idempotent. Toolchains and xdp_buff-emission code are byte-identical
across the two trees; this is the only differing input in the BTF path.
TheWildJames 1 ay önce
ebeveyn
işleme
e0bff36a8d
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      .github/actions/btf/action.yml

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

@@ -51,7 +51,7 @@ runs:
     - name: Apply resolve_btfids ELF_T_WORD endian fix (android12-5.10)
       shell: bash
       working-directory: ${{ github.workspace }}/kernel/common
-      if: false
+      if: ${{ inputs.version == 'android12-5.10' }}
       run: |
         set -euo pipefail
         # Backport of upstream 61e8aeda9398 ("bpf: Fix libelf endian handling