summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb')
-rw-r--r--recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb9
1 files changed, 1 insertions, 8 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb b/recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb
index 8779c67..1e893fa 100644
--- a/recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb
+++ b/recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb
@@ -1,4 +1,4 @@
1SUMMARY = "Aktualizr systemd service and configuration with HSM support" 1SUMMARY = "Aktualizr configuration with HSM support"
2DESCRIPTION = "Systemd service and configurations for Aktualizr, the SOTA Client application written in C++" 2DESCRIPTION = "Systemd service and configurations for Aktualizr, the SOTA Client application written in C++"
3HOMEPAGE = "https://github.com/advancedtelematic/aktualizr" 3HOMEPAGE = "https://github.com/advancedtelematic/aktualizr"
4SECTION = "base" 4SECTION = "base"
@@ -10,28 +10,21 @@ RDEPENDS_${PN} = "aktualizr softhsm softhsm-testtoken"
10 10
11SRC_URI = " \ 11SRC_URI = " \
12 file://LICENSE \ 12 file://LICENSE \
13 file://aktualizr.service \
14 " 13 "
15PV = "1.0" 14PV = "1.0"
16PR = "6" 15PR = "6"
17 16
18SYSTEMD_SERVICE_${PN} = "aktualizr.service"
19
20inherit systemd
21 17
22require environment.inc 18require environment.inc
23require credentials.inc 19require credentials.inc
24 20
25do_install() { 21do_install() {
26 install -d ${D}${systemd_unitdir}/system
27 install -m 0644 ${WORKDIR}/aktualizr.service ${D}${systemd_unitdir}/system/aktualizr.service
28 install -d ${D}${libdir}/sota 22 install -d ${D}${libdir}/sota
29 aktualizr_implicit_writer -c ${SOTA_PACKED_CREDENTIALS} --no-root-ca \ 23 aktualizr_implicit_writer -c ${SOTA_PACKED_CREDENTIALS} --no-root-ca \
30 -i ${STAGING_DIR_NATIVE}${libdir}/sota/sota_hsm_test.toml -o ${D}${libdir}/sota/sota.toml -p ${D} 24 -i ${STAGING_DIR_NATIVE}${libdir}/sota/sota_hsm_test.toml -o ${D}${libdir}/sota/sota.toml -p ${D}
31} 25}
32 26
33FILES_${PN} = " \ 27FILES_${PN} = " \
34 ${systemd_unitdir}/system/aktualizr.service \
35 ${libdir}/sota/sota.toml \ 28 ${libdir}/sota/sota.toml \
36 " 29 "
37 30