summaryrefslogtreecommitdiffstats
path: root/recipes-sota
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-sota')
-rw-r--r--recipes-sota/aktualizr/aktualizr-implicit-prov.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-implicit-prov.bb b/recipes-sota/aktualizr/aktualizr-implicit-prov.bb
index c8f0741..67bd2c2 100644
--- a/recipes-sota/aktualizr/aktualizr-implicit-prov.bb
+++ b/recipes-sota/aktualizr/aktualizr-implicit-prov.bb
@@ -25,8 +25,10 @@ do_install() {
25 install -d ${D}${systemd_unitdir}/system 25 install -d ${D}${systemd_unitdir}/system
26 install -m 0644 ${WORKDIR}/aktualizr.service ${D}${systemd_unitdir}/system/aktualizr.service 26 install -m 0644 ${WORKDIR}/aktualizr.service ${D}${systemd_unitdir}/system/aktualizr.service
27 install -d ${D}${libdir}/sota 27 install -d ${D}${libdir}/sota
28 aktualizr_implicit_writer -c ${SOTA_PACKED_CREDENTIALS} \ 28 if [ -n "${SOTA_PACKED_CREDENTIALS}" ]; then
29 -i ${STAGING_DIR_NATIVE}${libdir}/sota/sota_implicit_prov.toml -o ${D}${libdir}/sota/sota.toml -p ${D} 29 aktualizr_implicit_writer -c ${SOTA_PACKED_CREDENTIALS} \
30 -i ${STAGING_DIR_NATIVE}${libdir}/sota/sota_implicit_prov.toml -o ${D}${libdir}/sota/sota.toml -p ${D}
31 fi
30} 32}
31 33
32FILES_${PN} = " \ 34FILES_${PN} = " \