Closed ghost closed 3 years ago
It seems like mender artifact requires BUILD_TIMESTAMP which is indeed created after the playbooks/board_support is run.
Maybe a better solution is to move it to "75_mender_artifact"
The solution is not directly visible; if moved to an ansible playbook, and using host: localhost, connection: local, we don't gain a lot as after build there is no caching anyway.
Add artifact information to rootfs.
mkdir -p "${LXD_ROOTFS}/etc/mender/" echo "artifact_name=${ARTIFACT_NAME}" > "${LXD_ROOTFS}/etc/mender/artifact_info"
Should be moved to plugins/playbooks/board_support/roles/mender/tasks/main.yml