summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr-auto-prov.bb
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2017-12-06 09:20:27 +0100
committerPatrick Vacek <patrickvacek@gmail.com>2017-12-07 11:02:31 +0100
commitc99f5e78eaddc41904ebd6e2b15214b4fd4e5a91 (patch)
treed4e38878485e444226f890a090b35cbc53f252cc /recipes-sota/aktualizr/aktualizr-auto-prov.bb
parent9dcadfe093edbc7a24e180080f672d3cfceceba6 (diff)
downloadmeta-updater-c99f5e78eaddc41904ebd6e2b15214b4fd4e5a91.tar.gz
Minor fixes and cleanup.
* hsm-test is no longer used. * Use Yocto variables where suitable. * Eliminate redundant directory slashes.
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-auto-prov.bb')
-rw-r--r--recipes-sota/aktualizr/aktualizr-auto-prov.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-auto-prov.bb b/recipes-sota/aktualizr/aktualizr-auto-prov.bb
index cee5039..f05bf75 100644
--- a/recipes-sota/aktualizr/aktualizr-auto-prov.bb
+++ b/recipes-sota/aktualizr/aktualizr-auto-prov.bb
@@ -43,13 +43,13 @@ do_install() {
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}/var/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}/var/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
53} 53}
54 54
55FILES_${PN} = " \ 55FILES_${PN} = " \