summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/environment.inc
blob: 16e789e51ed3c6ae2e7df14dfa44e975bcf813e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
export SOTA_VIRTUAL_SECONDARIES

do_install_append() {
  for sec in ${SOTA_VIRTUAL_SECONDARIES}; do
    AKTUALIZR_PARAMETERS_VIRTUALSECS="${AKTUALIZR_PARAMETERS_VIRTUALSECS} --secondary-config $sec"
  done

  echo "AKTUALIZR_CMDLINE_PARAMETERS=${AKTUALIZR_PARAMETERS_VIRTUALSECS}" > ${D}${libdir}/sota/sota.env
}

FILES_${PN}_append = " ${libdir}/sota/sota.env"