summaryrefslogtreecommitdiffstats
path: root/recipes-test/demo-config/primary-config.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-test/demo-config/primary-config.bb')
-rw-r--r--recipes-test/demo-config/primary-config.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-test/demo-config/primary-config.bb b/recipes-test/demo-config/primary-config.bb
index 0cd9180..27cb553 100644
--- a/recipes-test/demo-config/primary-config.bb
+++ b/recipes-test/demo-config/primary-config.bb
@@ -7,7 +7,7 @@ require shared-conf.inc
7PRIMARY_SECONDARIES ?= "${SECONDARY_IP}:${SECONDARY_PORT}" 7PRIMARY_SECONDARIES ?= "${SECONDARY_IP}:${SECONDARY_PORT}"
8 8
9SRC_URI = "\ 9SRC_URI = "\
10 file://30-secondary_config.toml \ 10 file://30-secondary-config.toml \
11 file://ip_secondary_config.json \ 11 file://ip_secondary_config.json \
12 " 12 "
13 13
@@ -56,8 +56,8 @@ do_install () {
56 56
57 # install aktualizr config file (toml) that points to the secondary config file, so aktualizr is aware about it 57 # install aktualizr config file (toml) that points to the secondary config file, so aktualizr is aware about it
58 install -m 0700 -d ${D}${libdir}/sota/conf.d 58 install -m 0700 -d ${D}${libdir}/sota/conf.d
59 install -m 0644 ${WORKDIR}/30-secondary_config.toml ${D}${libdir}/sota/conf.d 59 install -m 0644 ${WORKDIR}/30-secondary-config.toml ${D}${libdir}/sota/conf.d
60 sed -i "s|@CFG_FILEPATH@|$SECONDARY_CONFIG_FILEPATH_ON_IMAGE|g" ${D}${libdir}/sota/conf.d/30-secondary_config.toml 60 sed -i "s|@CFG_FILEPATH@|$SECONDARY_CONFIG_FILEPATH_ON_IMAGE|g" ${D}${libdir}/sota/conf.d/30-secondary-config.toml
61} 61}
62 62
63FILES_${PN} = " \ 63FILES_${PN} = " \