diff mbox series

linux-firmware: Skip the vendor home paths in the buildpaths QA check

Message ID 20261127222531.3233733-1-khem.raj@oss.qualcomm.com
State New
Headers show
Series linux-firmware: Skip the vendor home paths in the buildpaths QA check | expand

Commit Message

Khem Raj Nov. 27, 2026, 10:25 p.m. UTC
Some prebuilt Qualcomm DSP firmware embeds paths from the build hosts it
was made on, /home/ubuntu (Radxa Dragon Q6A and Q8B) and /home/scm
(sdm845, sm8250, RubikPi3). On a build host whose HOME is one of those,
the HOME check in buildpaths warns, e.g. with HOME=/home/ubuntu:

  QA Issue: File /usr/lib/firmware/qcom/qcs6490/radxa/dragon-q6a/adsp.mbn
  in package linux-firmware-qcom-qcs6490-radxa-dragon-q6a-audio contains
  a reference to the build host HOME directory.

These are not build paths leaking from this build. Skip both, as the QA
message suggests.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta/recipes-kernel/linux-firmware/linux-firmware_20261124.bb | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20261124.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20261124.bb
index 479c7e4a94..21b47920d1 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20261124.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20261124.bb
@@ -3978,5 +3978,8 @@  INSANE_SKIP += "ldflags"
 # Don't warn about already stripped files
 INSANE_SKIP:${PN} = "already-stripped"
 
+# Some prebuilt Qualcomm firmware embeds paths from the vendor build hosts
+OEQA_BUILDPATHS_SKIP = "/home/scm /home/ubuntu"
+
 # No need to put firmware into the sysroot
 SYSROOT_DIRS_IGNORE += "${firmwaredir}"