diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2019-05-28 09:46:28 +0200 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2019-06-05 15:01:19 +0200 |
commit | 0b9caa66a90e0a0ea673ffcc37a00818e4806dac (patch) | |
tree | 6b69f25e424e59823ff78113594a1f0ab48d7c4f /recipes-test/demo-config/secondary-config.bb | |
parent | 0754230f4759c4c68f6992b7fa3cf5f6806e12d9 (diff) | |
download | meta-updater-0b9caa66a90e0a0ea673ffcc37a00818e4806dac.tar.gz |
Rename provisioning methods.
"Autoprovisioning" or "automatic provisioning" is now known as "shared
credential provisioning". "Implicit provisioning" is now known as
"device credential provisioning". "HSM provisioning" was always a
misnomer, so it is now refered to as "device credential provisioning
with an HSM".
This includes a bump of the aktualizr version as well.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Diffstat (limited to 'recipes-test/demo-config/secondary-config.bb')
-rw-r--r-- | recipes-test/demo-config/secondary-config.bb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/recipes-test/demo-config/secondary-config.bb b/recipes-test/demo-config/secondary-config.bb index 5b213d1..9411646 100644 --- a/recipes-test/demo-config/secondary-config.bb +++ b/recipes-test/demo-config/secondary-config.bb | |||
@@ -9,33 +9,33 @@ SOTA_HARDWARE_ID ?= "${MACHINE}-sndry" | |||
9 | SECONDARY_HARDWARE_ID ?= "${SOTA_HARDWARE_ID}" | 9 | SECONDARY_HARDWARE_ID ?= "${SOTA_HARDWARE_ID}" |
10 | 10 | ||
11 | SRC_URI = "\ | 11 | SRC_URI = "\ |
12 | file://30-fake_pacman.toml \ | 12 | file://30-fake-pacman.toml \ |
13 | file://35-network_config.toml \ | 13 | file://35-network-config.toml \ |
14 | file://45-id_config.toml \ | 14 | file://45-id-config.toml \ |
15 | " | 15 | " |
16 | 16 | ||
17 | do_install () { | 17 | do_install () { |
18 | install -m 0700 -d ${D}${libdir}/sota/conf.d | 18 | install -m 0700 -d ${D}${libdir}/sota/conf.d |
19 | install -m 0644 ${WORKDIR}/30-fake_pacman.toml ${D}/${libdir}/sota/conf.d/30-fake_pacman.toml | 19 | install -m 0644 ${WORKDIR}/30-fake-pacman.toml ${D}/${libdir}/sota/conf.d/30-fake-pacman.toml |
20 | 20 | ||
21 | install -m 0644 ${WORKDIR}/35-network_config.toml ${D}/${libdir}/sota/conf.d/35-network_config.toml | 21 | install -m 0644 ${WORKDIR}/35-network-config.toml ${D}/${libdir}/sota/conf.d/35-network-config.toml |
22 | sed -i -e 's|@PORT@|${SECONDARY_PORT}|g' \ | 22 | sed -i -e 's|@PORT@|${SECONDARY_PORT}|g' \ |
23 | -e 's|@PRIMARY_IP@|${PRIMARY_IP}|g' \ | 23 | -e 's|@PRIMARY_IP@|${PRIMARY_IP}|g' \ |
24 | -e 's|@PRIMARY_PORT@|${PRIMARY_PORT}|g' \ | 24 | -e 's|@PRIMARY_PORT@|${PRIMARY_PORT}|g' \ |
25 | ${D}/${libdir}/sota/conf.d/35-network_config.toml | 25 | ${D}/${libdir}/sota/conf.d/35-network-config.toml |
26 | 26 | ||
27 | install -m 0644 ${WORKDIR}/45-id_config.toml ${D}/${libdir}/sota/conf.d/45-id_config.toml | 27 | install -m 0644 ${WORKDIR}/45-id-config.toml ${D}/${libdir}/sota/conf.d/45-id-config.toml |
28 | sed -i -e 's|@SERIAL@|${SECONDARY_SERIAL_ID}|g' \ | 28 | sed -i -e 's|@SERIAL@|${SECONDARY_SERIAL_ID}|g' \ |
29 | -e 's|@HWID@|${SECONDARY_HARDWARE_ID}|g' \ | 29 | -e 's|@HWID@|${SECONDARY_HARDWARE_ID}|g' \ |
30 | ${D}/${libdir}/sota/conf.d/45-id_config.toml | 30 | ${D}/${libdir}/sota/conf.d/45-id-config.toml |
31 | 31 | ||
32 | } | 32 | } |
33 | 33 | ||
34 | FILES_${PN} = " \ | 34 | FILES_${PN} = " \ |
35 | ${libdir}/sota/conf.d \ | 35 | ${libdir}/sota/conf.d \ |
36 | ${libdir}/sota/conf.d/30-fake_pacman.toml \ | 36 | ${libdir}/sota/conf.d/30-fake-pacman.toml \ |
37 | ${libdir}/sota/conf.d/35-network_config.toml \ | 37 | ${libdir}/sota/conf.d/35-network-config.toml \ |
38 | ${libdir}/sota/conf.d/45-id_config.toml \ | 38 | ${libdir}/sota/conf.d/45-id-config.toml \ |
39 | " | 39 | " |
40 | 40 | ||
41 | # vim:set ts=4 sw=4 sts=4 expandtab: | 41 | # vim:set ts=4 sw=4 sts=4 expandtab: |