images: version stamp in /etc, shown at console and SSH login

Every image writes /etc/forgefirm-version and echoes "ForgeFIRM
<version>" on the serial-console login prompt (/etc/issue, beneath the
OpenGlow banner) and at SSH login (motd). Release images carry
v${FORGEFIRM_RELEASE}; the dev image stamps the build timestamp - the
same DATETIME as the artifact name - tagged (dev) so a bench machine
is never mistaken for a release.
This commit is contained in:
ScottW514
2026-08-07 21:19:50 -04:00
parent 3ba1d9c769
commit 8baed9aa93
2 changed files with 21 additions and 0 deletions
@@ -11,3 +11,7 @@ IMAGE_INSTALL += " \
IMAGE_FEATURES += " \
tools-debug \
"
# Dev builds identify by build timestamp (matches the artifact name),
# tagged so a bench machine is never mistaken for a release.
FORGEFIRM_VERSION_STRING = "${DATETIME} (dev)"