diff options
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-auto-prov.bb')
-rw-r--r-- | recipes-sota/aktualizr/aktualizr-auto-prov.bb | 8 |
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 | ||
55 | FILES_${PN} = " \ | 55 | FILES_${PN} = " \ |