From 0b7da46eb0b6c03bedf62b30d9104c8f3526c8bb Mon Sep 17 00:00:00 2001 From: Jose Diaz de Grenu Date: Fri, 24 Nov 2017 15:11:02 +0100 Subject: [PATCH] trustfence-cst: avoid warnings about cst tarball When parsing the recipe, a warning is shown because the tarball is only found in the downloads folder. However this is expected as it cannot be distributed. As a workaround, add the tarball to the SRC_URI variable only when Trustfence is active. That way the warning is not shown in all other cases. This was incorrectly removed in commit 14fc51147f6e. Signed-off-by: Jose Diaz de Grenu --- .../recipes-bsp/trustfence-cst/trustfence-cst-native.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst-native.inc b/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst-native.inc index 8d437c2b7..dd11a8fd4 100644 --- a/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst-native.inc +++ b/meta-digi-arm/recipes-bsp/trustfence-cst/trustfence-cst-native.inc @@ -8,7 +8,7 @@ LICENSE = "CLOSED" DEPENDS = "openssl-native" SRC_URI = " \ - file://cst-${PV}.tar.gz \ + ${@base_conditional('TRUSTFENCE_SIGN', '1', 'file://cst-${PV}.tar.gz', '', d)} \ file://0001-gen_auth_encrypted_data-reuse-existing-DEK-file.patch \ file://0002-hab4_pki_tree.sh-automate-script.patch \ file://0003-openssl_helper-use-dev-urandom-as-seed-source.patch \