summaryrefslogtreecommitdiffstats
path: root/recipes-test/demo-config/secondary-config.bb
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-05-28 09:46:28 +0200
committerEugene Smirnov <evgenii.smirnov@here.com>2019-07-17 18:23:46 +0200
commit0cf02e05962c69a808d7bfeca33e5b9cf58f3a44 (patch)
tree4ab66b5bffb8a0584dc086f823af37d3b362b9ce /recipes-test/demo-config/secondary-config.bb
parent371d37a551447ed9a718e7e4fde8b7a3628c2e96 (diff)
downloadmeta-updater-0cf02e05962c69a808d7bfeca33e5b9cf58f3a44.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.bb22
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"
9SECONDARY_HARDWARE_ID ?= "${SOTA_HARDWARE_ID}" 9SECONDARY_HARDWARE_ID ?= "${SOTA_HARDWARE_ID}"
10 10
11SRC_URI = "\ 11SRC_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
17do_install () { 17do_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
34FILES_${PN} = " \ 34FILES_${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: