Sfoglia il codice sorgente

btf: ungate libbpf feature-detection fix for all android12-5.10

Drop the sublevel>43 gate from the 0001 patch step only. That step removes
the elfdep feature-detection gate from tools/lib/bpf/Makefile; sublevel-43
(2021-10) trees hit 'elfdep: No libelf found' because the patch never ran.
Other five btf steps keep their gate.
TheWildJames 1 mese fa
parent
commit
ce445213e2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      .github/actions/btf/action.yml

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

@@ -17,7 +17,7 @@ runs:
     - name: Apply libbpf feature-detection fix (android12-5.10)
       shell: bash
       working-directory: ${{ github.workspace }}/kernel/common
-      if: ${{ inputs.version == 'android12-5.10' && (inputs.sublevel == 'X' || fromJSON(inputs.sublevel) > 43) }}
+      if: ${{ inputs.version == 'android12-5.10' }}
       run: |
         set -euo pipefail
         patch -p1 -N < ${{ github.action_path }}/patches/0001-libbpf-remove-feature-detection-BTF.patch