summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Sul <ext-mykhaylo.sul@here.com>2019-05-15 11:17:41 +0300
committerPatrick Vacek <patrickvacek@gmail.com>2019-06-05 15:02:49 +0200
commit92a2f118a894eecff69edf6913be3c7fae1c1ff3 (patch)
treed0e2b3442bd8bbe91f85fdd4c2262f1316bb720a
parent4f183a0dd8dcaed97ff704e698fdbe57c6b6b2d2 (diff)
downloadmeta-updater-92a2f118a894eecff69edf6913be3c7fae1c1ff3.tar.gz
OTA-2541: Network configuration on IP/Posix Secondary
Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com> Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
-rwxr-xr-xrecipes-sota/aktualizr/aktualizr_git.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb
index a49095a..60c5838 100755
--- a/recipes-sota/aktualizr/aktualizr_git.bb
+++ b/recipes-sota/aktualizr/aktualizr_git.bb
@@ -120,6 +120,14 @@ do_install_append () {
120 fi 120 fi
121 fi 121 fi
122 122
123 if [ -n "${SOTA_SECONDARY_NETWORK_CONFIG}" ]; then
124 if [ -f "${SOTA_SECONDARY_NETWORK_CONFIG}" ]; then
125 install -m 0644 ${SOTA_SECONDARY_NETWORK_CONFIG} ${D}/${libdir}/sota/conf.d/35-secondary-network-config.toml
126 else
127 bbwarn "SOTA_SECONDARY_NETWORK_CONFIG is set to a non-existent file (${SOTA_SECONDARY_NETWORK_CONFIG})"
128 fi
129 fi
130
123 install -m 0755 -d ${D}${systemd_unitdir}/system 131 install -m 0755 -d ${D}${systemd_unitdir}/system
124 aktualizr_service=${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'serialcan', '${WORKDIR}/aktualizr-serialcan.service', '${WORKDIR}/aktualizr.service', d)} 132 aktualizr_service=${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'serialcan', '${WORKDIR}/aktualizr-serialcan.service', '${WORKDIR}/aktualizr.service', d)}
125 install -m 0644 ${aktualizr_service} ${D}${systemd_unitdir}/system/aktualizr.service 133 install -m 0644 ${aktualizr_service} ${D}${systemd_unitdir}/system/aktualizr.service