summaryrefslogtreecommitdiffstats
path: root/recipes-sota
diff options
context:
space:
mode:
authorMike Sul <ext-mykhaylo.sul@here.com>2019-05-22 17:02:24 +0300
committerMike Sul <ext-mykhaylo.sul@here.com>2019-05-27 10:40:00 +0300
commit0b89fa5f5505891d8b358f8ef829b0200d238705 (patch)
tree189a5006c02ef9a053fe154c8505ddb037ed95b9 /recipes-sota
parentf14d0017d221f93b51d57484619aff28cb23f9bd (diff)
downloadmeta-updater-0b89fa5f5505891d8b358f8ef829b0200d238705.tar.gz
OTA-2541: Use local.conf's variables to configure Primary with Secondary(ies) and vice versa
Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
Diffstat (limited to 'recipes-sota')
-rwxr-xr-xrecipes-sota/aktualizr/aktualizr_git.bb8
1 files changed, 0 insertions, 8 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb
index d61b597..f4c9946 100755
--- a/recipes-sota/aktualizr/aktualizr_git.bb
+++ b/recipes-sota/aktualizr/aktualizr_git.bb
@@ -117,14 +117,6 @@ do_install_append () {
117 fi 117 fi
118 fi 118 fi
119 119
120 if [ -n "${SOTA_SECONDARY_NETWORK_CONFIG}" ]; then
121 if [ -f "${SOTA_SECONDARY_NETWORK_CONFIG}" ]; then
122 install -m 0644 ${SOTA_SECONDARY_NETWORK_CONFIG} ${D}/${libdir}/sota/conf.d/35-secondary-network-config.toml
123 else
124 bbwarn "SOTA_SECONDARY_NETWORK_CONFIG is set to a non-existent file (${SOTA_SECONDARY_NETWORK_CONFIG})"
125 fi
126 fi
127
128 install -m 0755 -d ${D}${systemd_unitdir}/system 120 install -m 0755 -d ${D}${systemd_unitdir}/system
129 aktualizr_service=${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'serialcan', '${WORKDIR}/aktualizr-serialcan.service', '${WORKDIR}/aktualizr.service', d)} 121 aktualizr_service=${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'serialcan', '${WORKDIR}/aktualizr-serialcan.service', '${WORKDIR}/aktualizr.service', d)}
130 install -m 0644 ${aktualizr_service} ${D}${systemd_unitdir}/system/aktualizr.service 122 install -m 0644 ${aktualizr_service} ${D}${systemd_unitdir}/system/aktualizr.service