@@ -25,8 +25,8 @@ DEBIAN_CONFLICTS = "ebg-secure-boot-snakeoil"
SRC_URI = " \
file://sign_secure_image.sh.tmpl \
file://control.tmpl"
-SRC_URI_append = " ${@ d.getVar(SB_CERTDB) or "" }"
-SRC_URI_append = " ${@ d.getVar(SB_VERIFY_CERT) or "" }"
+SRC_URI_append = " ${@ "file://"+d.getVar('SB_CERTDB') if d.getVar('SB_CERTDB') else '' }"
+SRC_URI_append = " ${@ "file://"+d.getVar('SB_VERIFY_CERT') if d.getVar('SB_VERIFY_CERT') else '' }"
TEMPLATE_FILES = "sign_secure_image.sh.tmpl"
TEMPLATE_VARS += "SB_CERT_PATH SB_CERTDB SB_VERIFY_CERT SB_KEY_NAME"
As per documentation, we need to copy the db and cert to recipes-devtools/ebg-secure-boot-secrets/files. SRC_URI expects file:// prefix for local files. Add that. Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com> --- .../ebg-secure-boot-secrets/ebg-secure-boot-secrets_0.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)