summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr-device-prov-hsm.bb
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-06-13 16:59:21 +0200
committerGitHub <noreply@github.com>2019-06-13 16:59:21 +0200
commit1c049cbaec927971b0425e608b68551a4d2b898b (patch)
tree1b549011977622f2883bd13ac2c299f29609838c /recipes-sota/aktualizr/aktualizr-device-prov-hsm.bb
parent9725c55078e6216437904aa63d5bb5c632f92302 (diff)
parent249254d0100eb19a2be5929cc14ee9f64bf0dd7c (diff)
downloadmeta-updater-1c049cbaec927971b0425e608b68551a4d2b898b.tar.gz
Merge pull request #526 from advancedtelematic/refactor/thud/renaming-secondaries-etc
Refactor/thud/renaming secondaries etc
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-device-prov-hsm.bb')
-rw-r--r--recipes-sota/aktualizr/aktualizr-device-prov-hsm.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-device-prov-hsm.bb b/recipes-sota/aktualizr/aktualizr-device-prov-hsm.bb
new file mode 100644
index 0000000..c3cd593
--- /dev/null
+++ b/recipes-sota/aktualizr/aktualizr-device-prov-hsm.bb
@@ -0,0 +1,30 @@
1SUMMARY = "Aktualizr configuration for device credential provisioning with HSM support"
2DESCRIPTION = "Configuration for provisioning Aktualizr with device credentials using externally provided or generated CA with HSM support"
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
8inherit allarch
9
10DEPENDS = "aktualizr aktualizr-native"
11RDEPENDS_${PN}_append = "${@' aktualizr-device-prov-creds softhsm-testtoken' if d.getVar('SOTA_DEPLOY_CREDENTIALS') == '1' else ''}"
12
13SRC_URI = ""
14PV = "1.0"
15PR = "6"
16
17require credentials.inc
18
19do_install() {
20 install -m 0700 -d ${D}${libdir}/sota/conf.d
21 install -m 0644 ${STAGING_DIR_HOST}${libdir}/sota/sota-device-cred-hsm.toml \
22 ${D}${libdir}/sota/conf.d/20-sota-device-cred-hsm.toml
23}
24
25FILES_${PN} = " \
26 ${libdir}/sota/conf.d \
27 ${libdir}/sota/conf.d/20-sota-device-cred-hsm.toml \
28 "
29
30# vim:set ts=4 sw=4 sts=4 expandtab: