angstrom-version: also add VERSION_ID to /etc/os-release

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2015-05-19 18:38:55 +02:00
parent 8f0df794f2
commit 3ae9064284

View File

@@ -45,6 +45,7 @@ do_install() {
echo "${@get_layers(bb, d)}" > ${D}${sysconfdir}/angstrom-build-info
echo "VERSION=\"${DISTRO_VERSION}\"" > ${D}${sysconfdir}/os-release
echo "VERSION_ID=\"${DISTRO_VERSION}\"" > ${D}${sysconfdir}/os-release
echo "NAME=\"Angstrom\"" >> ${D}${sysconfdir}/os-release
echo "ID=\"angstrom\"" >> ${D}${sysconfdir}/os-release
echo "PRETTY_NAME=\"The Ångström Distribution ${DISTRO_VERSION}\"" >> ${D}${sysconfdir}/os-release