summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr-auto-prov.bb
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2017-12-08 10:15:55 +0100
committerGitHub <noreply@github.com>2017-12-08 10:15:55 +0100
commitdbeb10e4e735e51e482323b283be426f96eceeb3 (patch)
treeacd7a545280972482ad45ea07d847a458a78f9c7 /recipes-sota/aktualizr/aktualizr-auto-prov.bb
parent410bff5545493faf3b8171d96f6e63256fc72b85 (diff)
parent76c065bf34a767a5ca797d762735c0a980d5b35a (diff)
downloadmeta-updater-dbeb10e4e735e51e482323b283be426f96eceeb3.tar.gz
Merge pull request #205 from advancedtelematic/bugfix/indent
Consistent indents.
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-auto-prov.bb')
-rw-r--r--recipes-sota/aktualizr/aktualizr-auto-prov.bb18
1 files changed, 10 insertions, 8 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-auto-prov.bb b/recipes-sota/aktualizr/aktualizr-auto-prov.bb
index f05bf75..43b23f9 100644
--- a/recipes-sota/aktualizr/aktualizr-auto-prov.bb
+++ b/recipes-sota/aktualizr/aktualizr-auto-prov.bb
@@ -39,14 +39,14 @@ do_install() {
39 install -d ${D}${libdir}/sota 39 install -d ${D}${libdir}/sota
40 install -d ${D}${localstatedir}/sota 40 install -d ${D}${localstatedir}/sota
41 if [ -n "${SOTA_PACKED_CREDENTIALS}" ]; then 41 if [ -n "${SOTA_PACKED_CREDENTIALS}" ]; then
42 install -m 0644 ${STAGING_DIR_NATIVE}/${libdir}/sota/sota_autoprov.toml ${D}${libdir}/sota/sota.toml 42 install -m 0644 ${STAGING_DIR_NATIVE}${libdir}/sota/sota_autoprov.toml ${D}${libdir}/sota/sota.toml
43 43
44 # deploy SOTA credentials 44 # deploy SOTA credentials
45 if [ -e ${SOTA_PACKED_CREDENTIALS} ]; then 45 if [ -e ${SOTA_PACKED_CREDENTIALS} ]; then
46 cp ${SOTA_PACKED_CREDENTIALS} ${D}${localstatedir}/sota/sota_provisioning_credentials.zip 46 cp ${SOTA_PACKED_CREDENTIALS} ${D}${localstatedir}/sota/sota_provisioning_credentials.zip
47 # Device should not be able to push data to treehub 47 # Device should not be able to push data to treehub
48 zip -d ${D}${localstatedir}/sota/sota_provisioning_credentials.zip treehub.json 48 zip -d ${D}${localstatedir}/sota/sota_provisioning_credentials.zip treehub.json
49 fi 49 fi
50 fi 50 fi
51 install -d ${D}${systemd_unitdir}/system 51 install -d ${D}${systemd_unitdir}/system
52 install -m 0644 ${WORKDIR}/aktualizr.service ${D}${systemd_unitdir}/system/aktualizr.service 52 install -m 0644 ${WORKDIR}/aktualizr.service ${D}${systemd_unitdir}/system/aktualizr.service
@@ -58,3 +58,5 @@ FILES_${PN} = " \
58 ${localstatedir}/sota \ 58 ${localstatedir}/sota \
59 ${localstatedir}/sota/sota_provisioning_credentials.zip \ 59 ${localstatedir}/sota/sota_provisioning_credentials.zip \
60 " 60 "
61
62# vim:set ts=4 sw=4 sts=4 expandtab: