From d9d1399b37160a77176cb27982e234adac6cf099 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 19 Jul 2022 21:13:53 +0100 Subject: [PATCH] arm/trusted-services: 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, skip this check. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- .../recipes-security/trusted-services/ts-corstone1000.inc | 2 +- .../trusted-services/secure-partitions_git.bb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/meta-arm-bsp/recipes-security/trusted-services/ts-corstone1000.inc b/meta-arm-bsp/recipes-security/trusted-services/ts-corstone1000.inc index e14730e3..fe5de58a 100644 --- a/meta-arm-bsp/recipes-security/trusted-services/ts-corstone1000.inc +++ b/meta-arm-bsp/recipes-security/trusted-services/ts-corstone1000.inc @@ -121,6 +121,6 @@ do_install:append() { } FILES:${PN}-dev = "${includedir}/deployments/psa-api-test/" -INSANE_SKIP:${PN}-psa-api-tests += "rpaths dev-so" +INSANE_SKIP:${PN}-psa-api-tests += "rpaths dev-so buildpaths" PACKAGES += "${PN}-psa-api-tests" FILES:${PN}-psa-api-tests = "${libdir} ${bindir}" diff --git a/meta-arm/recipes-security/trusted-services/secure-partitions_git.bb b/meta-arm/recipes-security/trusted-services/secure-partitions_git.bb index cfbae78a..fca6d9d3 100644 --- a/meta-arm/recipes-security/trusted-services/secure-partitions_git.bb +++ b/meta-arm/recipes-security/trusted-services/secure-partitions_git.bb @@ -68,3 +68,7 @@ do_deploy() { addtask deploy after do_install FILES:${PN} = "/firmware/sp/opteesp*" + +# Build paths are currently embedded +INSANE_SKIP:${PN} += "buildpaths" +INSANE_SKIP:${PN}-dbg += "buildpaths"