summaryrefslogtreecommitdiffstats
path: root/recipes-sota
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
parent410bff5545493faf3b8171d96f6e63256fc72b85 (diff)
parent76c065bf34a767a5ca797d762735c0a980d5b35a (diff)
downloadmeta-updater-dbeb10e4e735e51e482323b283be426f96eceeb3.tar.gz
Merge pull request #205 from advancedtelematic/bugfix/indent
Consistent indents.
Diffstat (limited to 'recipes-sota')
-rw-r--r--recipes-sota/aktualizr/aktualizr-auto-prov.bb18
-rw-r--r--recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb2
-rw-r--r--recipes-sota/aktualizr/aktualizr-implicit-prov.bb2
-rw-r--r--recipes-sota/aktualizr/aktualizr_git.bb2
4 files changed, 16 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:
diff --git a/recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb b/recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb
index e0a8efe..b1b2bff 100644
--- a/recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb
+++ b/recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb
@@ -33,3 +33,5 @@ FILES_${PN} = " \
33 ${systemd_unitdir}/system/aktualizr.service \ 33 ${systemd_unitdir}/system/aktualizr.service \
34 ${libdir}/sota/sota.toml \ 34 ${libdir}/sota/sota.toml \
35 " 35 "
36
37# vim:set ts=4 sw=4 sts=4 expandtab:
diff --git a/recipes-sota/aktualizr/aktualizr-implicit-prov.bb b/recipes-sota/aktualizr/aktualizr-implicit-prov.bb
index 5ce55e0..f73829d 100644
--- a/recipes-sota/aktualizr/aktualizr-implicit-prov.bb
+++ b/recipes-sota/aktualizr/aktualizr-implicit-prov.bb
@@ -33,3 +33,5 @@ FILES_${PN} = " \
33 ${libdir}/sota/sota.toml \ 33 ${libdir}/sota/sota.toml \
34 ${libdir}/sota/root.crt \ 34 ${libdir}/sota/root.crt \
35 " 35 "
36
37# vim:set ts=4 sw=4 sts=4 expandtab:
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb
index 44af1f6..457abfd 100644
--- a/recipes-sota/aktualizr/aktualizr_git.bb
+++ b/recipes-sota/aktualizr/aktualizr_git.bb
@@ -56,3 +56,5 @@ FILES_${PN}_class-native = " \
56 ${bindir}/garage-push \ 56 ${bindir}/garage-push \
57 ${libdir}/sota/* \ 57 ${libdir}/sota/* \
58 " 58 "
59
60# vim:set ts=4 sw=4 sts=4 expandtab: