summaryrefslogtreecommitdiffstats
path: root/recipes-sota
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-11-10 16:01:52 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2017-11-10 16:01:52 +0100
commitefb1433cc7ea7cae3ac60464a4c9164f6deeb26c (patch)
treede672f5dc4243a69c478818b55a231c5d130af57 /recipes-sota
parent371d3045da8091f5e039b40e0c77bcd4bbbe7e48 (diff)
downloadmeta-updater-efb1433cc7ea7cae3ac60464a4c9164f6deeb26c.tar.gz
Add UPTANE key generation capability
Diffstat (limited to 'recipes-sota')
-rw-r--r--recipes-sota/aktualizr/aktualizr_git.bb3
-rw-r--r--recipes-sota/aktualizr/files/sota_hsm_test.toml5
2 files changed, 4 insertions, 4 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb
index 470c9bf..c98027d 100644
--- a/recipes-sota/aktualizr/aktualizr_git.bb
+++ b/recipes-sota/aktualizr/aktualizr_git.bb
@@ -19,7 +19,7 @@ PR = "7"
19SRC_URI = " \ 19SRC_URI = " \
20 git://github.com/advancedtelematic/aktualizr;branch=${BRANCH} \ 20 git://github.com/advancedtelematic/aktualizr;branch=${BRANCH} \
21 " 21 "
22SRCREV = "67c4f44c4136d16871726449502e3926098e8524" 22SRCREV = "f043191ae622a96cf2f4d48f9073d5cfa9f16e3f"
23BRANCH ?= "master" 23BRANCH ?= "master"
24 24
25S = "${WORKDIR}/git" 25S = "${WORKDIR}/git"
@@ -34,7 +34,6 @@ EXTRA_OECMAKE_append_class-native = "-DBUILD_SOTA_TOOLS=ON -DBUILD_OSTREE=OFF "
34 34
35do_install_append () { 35do_install_append () {
36 rm -f ${D}${bindir}/aktualizr_cert_provider 36 rm -f ${D}${bindir}/aktualizr_cert_provider
37 rm -f ${D}${bindir}/garage-deploy
38} 37}
39do_install_append_class-target () { 38do_install_append_class-target () {
40 rm -f ${D}${bindir}/aktualizr_implicit_writer 39 rm -f ${D}${bindir}/aktualizr_implicit_writer
diff --git a/recipes-sota/aktualizr/files/sota_hsm_test.toml b/recipes-sota/aktualizr/files/sota_hsm_test.toml
index 1317914..28aefc2 100644
--- a/recipes-sota/aktualizr/files/sota_hsm_test.toml
+++ b/recipes-sota/aktualizr/files/sota_hsm_test.toml
@@ -12,6 +12,7 @@ pass = "1234"
12 12
13[uptane] 13[uptane]
14metadata_path = "/var/sota/metadata" 14metadata_path = "/var/sota/metadata"
15private_key_path = "ecukey.der" 15key_source = "pkcs11"
16public_key_path = "ecukey.pub" 16private_key_path = "03"
17public_key_path = "03"
17 18