diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2019-10-11 15:21:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-11 15:21:00 +0200 |
commit | a1f2ccf986e844e130ecc6ae61d2b6fc3632e2f8 (patch) | |
tree | d1b0f02b5a573b6e89bf80da83a818b5469310f4 /recipes-sota/config/files | |
parent | 7cad55821f0cc9f379b689afc6325bdb0cb1eff3 (diff) | |
parent | f87628186bd3b548c1f449adce3116d38557df5c (diff) | |
download | meta-updater-a1f2ccf986e844e130ecc6ae61d2b6fc3632e2f8.tar.gz |
Merge pull request #611 from advancedtelematic/feat/example-virtual-sec
Example config for a virtual secondary.
Diffstat (limited to 'recipes-sota/config/files')
-rw-r--r-- | recipes-sota/config/files/30-virtualsec.toml | 3 | ||||
-rw-r--r-- | recipes-sota/config/files/virtualsec.json | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/recipes-sota/config/files/30-virtualsec.toml b/recipes-sota/config/files/30-virtualsec.toml new file mode 100644 index 0000000..987f692 --- /dev/null +++ b/recipes-sota/config/files/30-virtualsec.toml | |||
@@ -0,0 +1,3 @@ | |||
1 | [uptane] | ||
2 | secondary_config_file = "/usr/lib/sota/virtualsec.json" | ||
3 | |||
diff --git a/recipes-sota/config/files/virtualsec.json b/recipes-sota/config/files/virtualsec.json new file mode 100644 index 0000000..dcdcdba --- /dev/null +++ b/recipes-sota/config/files/virtualsec.json | |||
@@ -0,0 +1,14 @@ | |||
1 | { | ||
2 | "virtual": [ | ||
3 | { | ||
4 | "partial_verifying": "false", | ||
5 | "ecu_hardware_id": "external-config", | ||
6 | "full_client_dir": "/var/sota/external-config", | ||
7 | "ecu_private_key": "sec.private", | ||
8 | "ecu_public_key": "sec.public", | ||
9 | "firmware_path": "/var/sota/external-config/config.txt", | ||
10 | "target_name_path": "/var/sota/external-config/target_name", | ||
11 | "metadata_path": "/var/sota/external-config/metadata" | ||
12 | } | ||
13 | ] | ||
14 | } | ||