diff options
Diffstat (limited to 'recipes-sota')
-rwxr-xr-x | recipes-sota/aktualizr/aktualizr_git.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb index 903f2de..db8cf38 100755 --- a/recipes-sota/aktualizr/aktualizr_git.bb +++ b/recipes-sota/aktualizr/aktualizr_git.bb | |||
@@ -119,6 +119,14 @@ do_install_append () { | |||
119 | fi | 119 | fi |
120 | fi | 120 | fi |
121 | 121 | ||
122 | if [ -n "${SOTA_SECONDARY_NETWORK_CONFIG}" ]; then | ||
123 | if [ -f "${SOTA_SECONDARY_NETWORK_CONFIG}" ]; then | ||
124 | install -m 0644 ${SOTA_SECONDARY_NETWORK_CONFIG} ${D}/${libdir}/sota/conf.d/35-secondary-network-config.toml | ||
125 | else | ||
126 | bbwarn "SOTA_SECONDARY_NETWORK_CONFIG is set to a non-existent file (${SOTA_SECONDARY_NETWORK_CONFIG})" | ||
127 | fi | ||
128 | fi | ||
129 | |||
122 | install -m 0755 -d ${D}${systemd_unitdir}/system | 130 | install -m 0755 -d ${D}${systemd_unitdir}/system |
123 | aktualizr_service=${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'serialcan', '${WORKDIR}/aktualizr-serialcan.service', '${WORKDIR}/aktualizr.service', d)} | 131 | aktualizr_service=${@bb.utils.contains('SOTA_CLIENT_FEATURES', 'serialcan', '${WORKDIR}/aktualizr-serialcan.service', '${WORKDIR}/aktualizr.service', d)} |
124 | install -m 0644 ${aktualizr_service} ${D}${systemd_unitdir}/system/aktualizr.service | 132 | install -m 0644 ${aktualizr_service} ${D}${systemd_unitdir}/system/aktualizr.service |