diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2018-04-27 09:35:01 +0200 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2018-05-03 10:55:36 +0200 |
commit | 1f3231cbc3257eaebbf100df10b2ac2e70dd6671 (patch) | |
tree | 1df9310c9f0378492e7b795aba630684d96f2fdf /recipes-sota/aktualizr/environment.inc | |
parent | c04e7bded7915e6bc9c70128d4a8be0cf7dec7cd (diff) | |
download | meta-updater-1f3231cbc3257eaebbf100df10b2ac2e70dd6671.tar.gz |
Move example-interface from sota.env to its own recipe.
SOTA_LEGACY_SECONDARY_INTERFACE is now obsolete. Instead, include this:
IMAGE_INSTALL_append = " aktualizr-examples aktualizr-example-interface "
Diffstat (limited to 'recipes-sota/aktualizr/environment.inc')
-rw-r--r-- | recipes-sota/aktualizr/environment.inc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/recipes-sota/aktualizr/environment.inc b/recipes-sota/aktualizr/environment.inc index 09da6b7..94806bd 100644 --- a/recipes-sota/aktualizr/environment.inc +++ b/recipes-sota/aktualizr/environment.inc | |||
@@ -1,17 +1,12 @@ | |||
1 | export SOTA_LEGACY_SECONDARY_INTERFACE | ||
2 | export SOTA_VIRTUAL_SECONDARIES | 1 | export SOTA_VIRTUAL_SECONDARIES |
3 | 2 | ||
4 | do_install_append() { | 3 | do_install_append() { |
5 | if [ -n "${SOTA_LEGACY_SECONDARY_INTERFACE}" ]; then | ||
6 | AKTUALIZR_PARAMETERS_LEGACYSEC="--legacy-interface ${SOTA_LEGACY_SECONDARY_INTERFACE}" | ||
7 | fi | ||
8 | |||
9 | AKTUALIZR_PARAMETERS_CONFIGFILE="--config /usr/lib/sota/sota.toml" | 4 | AKTUALIZR_PARAMETERS_CONFIGFILE="--config /usr/lib/sota/sota.toml" |
10 | for sec in ${SOTA_VIRTUAL_SECONDARIES}; do | 5 | for sec in ${SOTA_VIRTUAL_SECONDARIES}; do |
11 | AKTUALIZR_PARAMETERS_VIRTUALSECS="${AKTUALIZR_PARAMETERS_VIRTUALSECS} --secondary-config $sec" | 6 | AKTUALIZR_PARAMETERS_VIRTUALSECS="${AKTUALIZR_PARAMETERS_VIRTUALSECS} --secondary-config $sec" |
12 | done | 7 | done |
13 | 8 | ||
14 | echo "AKTUALIZR_CMDLINE_PARAMETERS=${AKTUALIZR_PARAMETERS_CONFIGFILE} ${AKTUALIZR_PARAMETERS_LEGACYSEC} ${AKTUALIZR_PARAMETERS_VIRTUALSECS}" > ${D}${libdir}/sota/sota.env | 9 | echo "AKTUALIZR_CMDLINE_PARAMETERS=${AKTUALIZR_PARAMETERS_CONFIGFILE} ${AKTUALIZR_PARAMETERS_VIRTUALSECS}" > ${D}${libdir}/sota/sota.env |
15 | } | 10 | } |
16 | 11 | ||
17 | FILES_${PN}_append = " ${libdir}/sota/sota.env" | 12 | FILES_${PN}_append = " ${libdir}/sota/sota.env" |