[5/5] arm/secure-partitions: allow network operations during do_configure

Message ID 20220211105608.2483647-5-ross.burton@arm.com
State New
Headers show
Series [1/5] CI: build perf via CORE_IMAGE_EXTRA_INSTALL | expand

Commit Message

Ross Burton Feb. 11, 2022, 10:56 a.m. UTC
trusted-services and psa-arch-tests both use FetchContent to download
more source during configure, and they can't easily be seeded with the
correct sources in advance (unlike TF-M).

Until this is fixed upstream, allow network use during do_configure.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../recipes-security/trusted-services/secure-partitions.inc  | 5 +++++
 1 file changed, 5 insertions(+)

Patch

diff --git a/meta-arm/recipes-security/trusted-services/secure-partitions.inc b/meta-arm/recipes-security/trusted-services/secure-partitions.inc
index 2f56502e..1df7409c 100644
--- a/meta-arm/recipes-security/trusted-services/secure-partitions.inc
+++ b/meta-arm/recipes-security/trusted-services/secure-partitions.inc
@@ -20,3 +20,8 @@  SECURITY_LDFLAGS = ""
 TARGET_LDFLAGS = "-Wl,--build-id=none -Wl,--hash-style=both"
 
 do_configure[cleandirs] = "${B}"
+
+# Currently trusted-services and psa-arch-tests use FetchContent to download
+# more sources during do_configure. Until this is resolved we need to allow
+# network operations.
+do_configure[network] = "1"