summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr-implicit-prov.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-implicit-prov.bb')
-rw-r--r--recipes-sota/aktualizr/aktualizr-implicit-prov.bb34
1 files changed, 0 insertions, 34 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-implicit-prov.bb b/recipes-sota/aktualizr/aktualizr-implicit-prov.bb
deleted file mode 100644
index 5c54e8a..0000000
--- a/recipes-sota/aktualizr/aktualizr-implicit-prov.bb
+++ /dev/null
@@ -1,34 +0,0 @@
1SUMMARY = "Aktualizr configuration for implicit provisioning"
2DESCRIPTION = "Configuration for implicitly provisioning Aktualizr, the SOTA Client application written in C++"
3HOMEPAGE = "https://github.com/advancedtelematic/aktualizr"
4SECTION = "base"
5LICENSE = "MPL-2.0"
6LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad"
7
8DEPENDS = "aktualizr aktualizr-native"
9
10SRC_URI = ""
11PV = "1.0"
12PR = "1"
13
14require environment.inc
15require credentials.inc
16
17do_install() {
18 install -m 0700 -d ${D}${libdir}/sota/conf.d
19 install -m 0644 ${STAGING_DIR_HOST}${libdir}/sota/sota_implicit_prov.toml \
20 ${D}${libdir}/sota/conf.d/20-sota_implicit_prov.toml
21 if [ -n "${SOTA_PACKED_CREDENTIALS}" ]; then
22 aktualizr_implicit_writer -c ${SOTA_PACKED_CREDENTIALS} \
23 -o ${D}${libdir}/sota/conf.d/30-implicit_server.toml -p ${D}
24 fi
25}
26
27FILES_${PN} = " \
28 ${libdir}/sota/conf.d \
29 ${libdir}/sota/conf.d/20-implicit_prov.toml \
30 ${libdir}/sota/conf.d/30-implicit_server.toml \
31 ${libdir}/sota/root.crt \
32 "
33
34# vim:set ts=4 sw=4 sts=4 expandtab: