diff options
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-implicit-prov.bb')
-rw-r--r-- | recipes-sota/aktualizr/aktualizr-implicit-prov.bb | 34 |
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 @@ | |||
1 | SUMMARY = "Aktualizr configuration for implicit provisioning" | ||
2 | DESCRIPTION = "Configuration for implicitly provisioning Aktualizr, the SOTA Client application written in C++" | ||
3 | HOMEPAGE = "https://github.com/advancedtelematic/aktualizr" | ||
4 | SECTION = "base" | ||
5 | LICENSE = "MPL-2.0" | ||
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad" | ||
7 | |||
8 | DEPENDS = "aktualizr aktualizr-native" | ||
9 | |||
10 | SRC_URI = "" | ||
11 | PV = "1.0" | ||
12 | PR = "1" | ||
13 | |||
14 | require environment.inc | ||
15 | require credentials.inc | ||
16 | |||
17 | do_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 | |||
27 | FILES_${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: | ||