From ee33e9f3ad84d5efb16b444352ed4f610e03d846 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Tue, 14 Jan 2025 20:23:10 +0100 Subject: [PATCH] Improve condition for seedfile in tf-psa-crypto Signed-off-by: Ronald Cron --- scripts/all-core.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/all-core.sh b/scripts/all-core.sh index 4652fe405..1882c1c4e 100644 --- a/scripts/all-core.sh +++ b/scripts/all-core.sh @@ -938,7 +938,7 @@ run_component () { esac "${dd_cmd[@]}" - if [ -d tf-psa-crypto ]; then + if in_mbedtls_repo && in_4_x_branch; then dd_cmd=(dd if=/dev/urandom of=./tf-psa-crypto/tests/seedfile bs=64 count=1) case $OSTYPE in linux*|freebsd*|openbsd*) dd_cmd+=(status=none)