summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2017-12-13 14:18:04 +0100
committerPatrick Vacek <patrickvacek@gmail.com>2017-12-13 14:18:04 +0100
commit1838969e3b238baa1c2886a4f7f27163bc36b488 (patch)
tree091585c410751095779998888ae7c85fc8a5bd73
parent904bc291f642f99302a8513d17ad02ff0544a543 (diff)
downloadmeta-updater-1838969e3b238baa1c2886a4f7f27163bc36b488.tar.gz
Fix variable expansion problem when SOTA_PACKED_CREDENTIALS is not set.
Reported by Stevan, traced to the problem by me, actually fixed by Anton.
-rw-r--r--recipes-sota/aktualizr/credentials.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-sota/aktualizr/credentials.inc b/recipes-sota/aktualizr/credentials.inc
index fe09550..256c8ff 100644
--- a/recipes-sota/aktualizr/credentials.inc
+++ b/recipes-sota/aktualizr/credentials.inc
@@ -1 +1 @@
SRC_URI_append = "${@'file://${SOTA_PACKED_CREDENTIALS}' if d.getVar('SOTA_PACKED_CREDENTIALS', True) else ' '}" SRC_URI_append = "${@('file://' + d.getVar('SOTA_PACKED_CREDENTIALS', True)) if d.getVar('SOTA_PACKED_CREDENTIALS', True) else ''}"