Procházet zdrojové kódy

btf: ungate host dd step for all android12-5.10

Drop the sublevel>43 gate from the 'Expose host dd' step. gen_btf in
scripts/link-vmlinux.sh does 'printf ... | dd of=...', but the hermetic
toolchain PATH (HERMETIC_TOOLCHAIN=1) has no /usr/bin so coreutils dd is
missing, aborting with 'dd: not found' / 'Failed to generate BTF'. The step
appends ADDITIONAL_HOST_TOOLS="${ADDITIONAL_HOST_TOOLS} dd" to
build.config.gki.aarch64 so _setup_env.sh symlinks dd into the hermetic
host_tools PATH.
TheWildJames před 1 měsícem
rodič
revize
ca76007221
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      .github/actions/btf/action.yml

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

@@ -72,7 +72,7 @@ runs:
     - name: Expose host dd for hermetic BTF generation (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
         # The hermetic toolchain PATH (build.config.common -> HERMETIC_TOOLCHAIN=1)