diff options
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb')
-rw-r--r-- | recipes-sota/aktualizr/aktualizr-hsm-test-prov.bb | 9 |
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 @@ | |||
1 | SUMMARY = "Aktualizr systemd service and configuration with HSM support" | 1 | SUMMARY = "Aktualizr configuration with HSM support" |
2 | DESCRIPTION = "Systemd service and configurations for Aktualizr, the SOTA Client application written in C++" | 2 | DESCRIPTION = "Systemd service and configurations for Aktualizr, the SOTA Client application written in C++" |
3 | HOMEPAGE = "https://github.com/advancedtelematic/aktualizr" | 3 | HOMEPAGE = "https://github.com/advancedtelematic/aktualizr" |
4 | SECTION = "base" | 4 | SECTION = "base" |
@@ -10,28 +10,21 @@ RDEPENDS_${PN} = "aktualizr softhsm softhsm-testtoken" | |||
10 | 10 | ||
11 | SRC_URI = " \ | 11 | SRC_URI = " \ |
12 | file://LICENSE \ | 12 | file://LICENSE \ |
13 | file://aktualizr.service \ | ||
14 | " | 13 | " |
15 | PV = "1.0" | 14 | PV = "1.0" |
16 | PR = "6" | 15 | PR = "6" |
17 | 16 | ||
18 | SYSTEMD_SERVICE_${PN} = "aktualizr.service" | ||
19 | |||
20 | inherit systemd | ||
21 | 17 | ||
22 | require environment.inc | 18 | require environment.inc |
23 | require credentials.inc | 19 | require credentials.inc |
24 | 20 | ||
25 | do_install() { | 21 | do_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 | ||
33 | FILES_${PN} = " \ | 27 | FILES_${PN} = " \ |
34 | ${systemd_unitdir}/system/aktualizr.service \ | ||
35 | ${libdir}/sota/sota.toml \ | 28 | ${libdir}/sota/sota.toml \ |
36 | " | 29 | " |
37 | 30 | ||