diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2017-12-13 14:18:04 +0100 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2017-12-13 14:18:04 +0100 |
commit | 1838969e3b238baa1c2886a4f7f27163bc36b488 (patch) | |
tree | 091585c410751095779998888ae7c85fc8a5bd73 /recipes-sota/aktualizr | |
parent | 904bc291f642f99302a8513d17ad02ff0544a543 (diff) | |
download | meta-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.
Diffstat (limited to 'recipes-sota/aktualizr')
-rw-r--r-- | recipes-sota/aktualizr/credentials.inc | 2 |
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 ''}" | ||