i try to implement /etc/os-release in my beaglebone yocto after some attempt in my google. i added following in my configuration files
local.conf
INHERIT += "image-buildinfo"
BUILD_ID = "${@time.strftime('%Y-%m-%d %H:%M:%S',time.localtime())}"
IMAGE_BUILDINFO_VARS = "DISTRO DISTRO_VERSION MACHINE IMAGE_NAME USER"
in os-release.bb
INHERIT += "image-buildinfo"
BUILD_ID = "${@time.strftime('%Y-%m-%d %H:%M:%S',time.localtime())}"
IMAGE_BUILDINFO_VARS = "DISTRO DISTRO_VERSION MACHINE IMAGE_NAME USER"
I was expecting /etc/os-release or /usr/lib/os-release build successfully upon bitbake run completely , but i don't see both of them in my images.
Am i missing anything?or i misinterpret on any concept? Sorry for the rookies question, i am trying to exploring yocto