diff options
Diffstat (limited to 'recipes-sota/aktualizr')
-rwxr-xr-x | recipes-sota/aktualizr/aktualizr_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/aktualizr_git.bb b/recipes-sota/aktualizr/aktualizr_git.bb index e62bdf1..ced8388 100755 --- a/recipes-sota/aktualizr/aktualizr_git.bb +++ b/recipes-sota/aktualizr/aktualizr_git.bb | |||
@@ -71,6 +71,10 @@ do_install_append () { | |||
71 | install -m 0700 -d ${D}${libdir}/sota/conf.d | 71 | install -m 0700 -d ${D}${libdir}/sota/conf.d |
72 | install -m 0700 -d ${D}${sysconfdir}/sota/conf.d | 72 | install -m 0700 -d ${D}${sysconfdir}/sota/conf.d |
73 | 73 | ||
74 | if [ -n "${SOTA_HARDWARE_ID}" ]; then | ||
75 | echo "[provision]\nprimary_ecu_hardware_id = ${SOTA_HARDWARE_ID}\n" > ${D}${libdir}/sota/conf.d/40-hardware-id.toml | ||
76 | fi | ||
77 | |||
74 | if [ -n "${SOTA_SECONDARY_CONFIG_DIR}" ]; then | 78 | if [ -n "${SOTA_SECONDARY_CONFIG_DIR}" ]; then |
75 | if [ -d "${SOTA_SECONDARY_CONFIG_DIR}" ]; then | 79 | if [ -d "${SOTA_SECONDARY_CONFIG_DIR}" ]; then |
76 | install -m 0700 -d ${D}${sysconfdir}/sota/ecus | 80 | install -m 0700 -d ${D}${sysconfdir}/sota/ecus |