summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/environment.inc
blob: 0b46a2e85c7c9213e47924b2d8c1943e1a38bf3f (plain)
1
2
3
4
5
6
7
8
do_install_append() {
  if [ -n "${SOTA_SECONDARY_CONFIG_DIR}" ]; then
    AKTUALIZR_CMDLINE_PARAMETERS="${AKTUALIZR_CMDLINE_PARAMETERS} --secondary-configs-dir /etc/sota/ecus"
  fi
  echo "AKTUALIZR_CMDLINE_PARAMETERS=${AKTUALIZR_CMDLINE_PARAMETERS}" > ${D}${libdir}/sota/sota.env
}

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