summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/environment.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-sota/aktualizr/environment.inc')
-rw-r--r--recipes-sota/aktualizr/environment.inc11
1 files changed, 4 insertions, 7 deletions
diff --git a/recipes-sota/aktualizr/environment.inc b/recipes-sota/aktualizr/environment.inc
index 16e789e..0b46a2e 100644
--- a/recipes-sota/aktualizr/environment.inc
+++ b/recipes-sota/aktualizr/environment.inc
@@ -1,11 +1,8 @@
1export SOTA_VIRTUAL_SECONDARIES
2
3do_install_append() { 1do_install_append() {
4 for sec in ${SOTA_VIRTUAL_SECONDARIES}; do 2 if [ -n "${SOTA_SECONDARY_CONFIG_DIR}" ]; then
5 AKTUALIZR_PARAMETERS_VIRTUALSECS="${AKTUALIZR_PARAMETERS_VIRTUALSECS} --secondary-config $sec" 3 AKTUALIZR_CMDLINE_PARAMETERS="${AKTUALIZR_CMDLINE_PARAMETERS} --secondary-configs-dir /etc/sota/ecus"
6 done 4 fi
7 5 echo "AKTUALIZR_CMDLINE_PARAMETERS=${AKTUALIZR_CMDLINE_PARAMETERS}" > ${D}${libdir}/sota/sota.env
8 echo "AKTUALIZR_CMDLINE_PARAMETERS=${AKTUALIZR_PARAMETERS_VIRTUALSECS}" > ${D}${libdir}/sota/sota.env
9} 6}
10 7
11FILES_${PN}_append = " ${libdir}/sota/sota.env" 8FILES_${PN}_append = " ${libdir}/sota/sota.env"