summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr-hsm-prov.bb
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2018-01-19 17:02:27 +0100
committerPatrick Vacek <patrickvacek@gmail.com>2018-01-22 11:28:22 +0100
commit19883e9d2602c9cb096bcd81b5a1c49e1faba74f (patch)
tree2d119ffcc4f49f96052b01a2547e0629107318cd /recipes-sota/aktualizr/aktualizr-hsm-prov.bb
parentde0d91f6a870494963c67c70460999927e8d9e1f (diff)
downloadmeta-updater-19883e9d2602c9cb096bcd81b5a1c49e1faba74f.tar.gz
Rename all instances of hsm-test and use latest aktualizr.
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-hsm-prov.bb')
-rw-r--r--recipes-sota/aktualizr/aktualizr-hsm-prov.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-hsm-prov.bb b/recipes-sota/aktualizr/aktualizr-hsm-prov.bb
new file mode 100644
index 0000000..944607c
--- /dev/null
+++ b/recipes-sota/aktualizr/aktualizr-hsm-prov.bb
@@ -0,0 +1,31 @@
1SUMMARY = "Aktualizr configuration with HSM support"
2DESCRIPTION = "Systemd service and configurations for Aktualizr, the SOTA Client application written in C++"
3HOMEPAGE = "https://github.com/advancedtelematic/aktualizr"
4SECTION = "base"
5LICENSE = "MPL-2.0"
6LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=9741c346eef56131163e13b9db1241b3"
7
8DEPENDS = "aktualizr-native"
9RDEPENDS_${PN} = "aktualizr softhsm softhsm-testtoken"
10
11SRC_URI = " \
12 file://LICENSE \
13 "
14PV = "1.0"
15PR = "6"
16
17
18require environment.inc
19require credentials.inc
20
21do_install() {
22 install -d ${D}${libdir}/sota
23 aktualizr_implicit_writer -c ${SOTA_PACKED_CREDENTIALS} --no-root-ca \
24 -i ${STAGING_DIR_NATIVE}${libdir}/sota/sota_hsm_prov.toml -o ${D}${libdir}/sota/sota.toml -p ${D}
25}
26
27FILES_${PN} = " \
28 ${libdir}/sota/sota.toml \
29 "
30
31# vim:set ts=4 sw=4 sts=4 expandtab: