At times we need to validate what exactly is running on a target image. This will become crucial for in field debugging as well. Something like /etc/yocto-release, or /etc/yocto-build would be an appropriate place. The file should include things like the release, or the git hash, the machine type and the image built.
Interesting idea, and what about /etc/issue.yocto or even /etc/issue?
I don't have a strong preference for where it is, so long as it is available.
It's there, /etc/issue and /etc/issue.net both list the DISTRO_NAME and DISTRO_VERSION.