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.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/recipes-sota/aktualizr/environment.inc b/recipes-sota/aktualizr/environment.inc
index 94806bd..16e789e 100644
--- a/recipes-sota/aktualizr/environment.inc
+++ b/recipes-sota/aktualizr/environment.inc
@@ -1,12 +1,11 @@
1export SOTA_VIRTUAL_SECONDARIES 1export SOTA_VIRTUAL_SECONDARIES
2 2
3do_install_append() { 3do_install_append() {
4 AKTUALIZR_PARAMETERS_CONFIGFILE="--config /usr/lib/sota/sota.toml"
5 for sec in ${SOTA_VIRTUAL_SECONDARIES}; do 4 for sec in ${SOTA_VIRTUAL_SECONDARIES}; do
6 AKTUALIZR_PARAMETERS_VIRTUALSECS="${AKTUALIZR_PARAMETERS_VIRTUALSECS} --secondary-config $sec" 5 AKTUALIZR_PARAMETERS_VIRTUALSECS="${AKTUALIZR_PARAMETERS_VIRTUALSECS} --secondary-config $sec"
7 done 6 done
8 7
9 echo "AKTUALIZR_CMDLINE_PARAMETERS=${AKTUALIZR_PARAMETERS_CONFIGFILE} ${AKTUALIZR_PARAMETERS_VIRTUALSECS}" > ${D}${libdir}/sota/sota.env 8 echo "AKTUALIZR_CMDLINE_PARAMETERS=${AKTUALIZR_PARAMETERS_VIRTUALSECS}" > ${D}${libdir}/sota/sota.env
10} 9}
11 10
12FILES_${PN}_append = " ${libdir}/sota/sota.env" 11FILES_${PN}_append = " ${libdir}/sota/sota.env"