From 411519915cb2cfde80cb29ad0624be6d92789713 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 19 Jul 2022 21:13:47 +0100 Subject: [PATCH] arm/edk2-firmware: ignore buildpath warnings Latest oe-core has enabled the buildpaths QA check, which warns if the build paths are present inside binaries. This is because build paths in deployed binaries is both information leakage and non-reproducible. Until this is fixed in edk2-firmware, skip this check. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- meta-arm/recipes-bsp/uefi/edk2-firmware.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-arm/recipes-bsp/uefi/edk2-firmware.inc b/meta-arm/recipes-bsp/uefi/edk2-firmware.inc index 76f9d62c..e0dfa28b 100644 --- a/meta-arm/recipes-bsp/uefi/edk2-firmware.inc +++ b/meta-arm/recipes-bsp/uefi/edk2-firmware.inc @@ -114,7 +114,9 @@ do_install() { FILES:${PN} = "/firmware" SYSROOT_DIRS += "/firmware" # Skip QA check for relocations in .text of elf binaries -INSANE_SKIP:${PN} = "textrel" +INSANE_SKIP:${PN} += "textrel" +# Build paths are currently embedded +INSANE_SKIP:${PN} += "buildpaths" do_deploy() { # Copy the images to deploy directory