diff options
-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 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 |