summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr-hsm-prov.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-hsm-prov.bb')
-rw-r--r--recipes-sota/aktualizr/aktualizr-hsm-prov.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-hsm-prov.bb b/recipes-sota/aktualizr/aktualizr-hsm-prov.bb
index 5f8da3c..290167f 100644
--- a/recipes-sota/aktualizr/aktualizr-hsm-prov.bb
+++ b/recipes-sota/aktualizr/aktualizr-hsm-prov.bb
@@ -18,15 +18,15 @@ require environment.inc
18require credentials.inc 18require credentials.inc
19 19
20do_install() { 20do_install() {
21 install -d ${D}${libdir}/sota 21 install -m 0700 -d ${D}${libdir}/sota/conf.d
22 if [ -n "${SOTA_PACKED_CREDENTIALS}" ]; then 22 if [ -n "${SOTA_PACKED_CREDENTIALS}" ]; then
23 aktualizr_implicit_writer -c ${SOTA_PACKED_CREDENTIALS} --no-root-ca \ 23 aktualizr_implicit_writer -c ${SOTA_PACKED_CREDENTIALS} --no-root-ca \
24 -i ${STAGING_DIR_NATIVE}${libdir}/sota/sota_hsm_prov.toml -o ${D}${libdir}/sota/sota.toml -p ${D} 24 -i ${STAGING_DIR_NATIVE}${libdir}/sota/sota_hsm_prov.toml -o ${D}${libdir}/sota/conf.d/20-sota.toml -p ${D}
25 fi 25 fi
26} 26}
27 27
28FILES_${PN} = " \ 28FILES_${PN} = " \
29 ${libdir}/sota/sota.toml \ 29 ${libdir}/sota/conf.d/20-sota.toml \
30 " 30 "
31 31
32# vim:set ts=4 sw=4 sts=4 expandtab: 32# vim:set ts=4 sw=4 sts=4 expandtab: