angstrom-version: switch to new OE-core based naming

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi
2011-03-11 09:56:18 +01:00
parent 7acf03e8d4
commit bdbf7927d9
2 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PV = "${DISTRO_VERSION}"
PR = "r7"
PR = "r8"
PE = "1"
SRC_URI = "file://lsb_release"
@@ -12,7 +12,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
do_install() {
install -d ${D}${sysconfdir}
echo "Angstrom ${DISTRO_VERSION}" > ${D}${sysconfdir}/angstrom-version
echo "Angstrom ${DISTRO_VERSION} (Core edition)" > ${D}${sysconfdir}/angstrom-version
echo "Built from branch: ${METADATA_BRANCH}" >> ${D}${sysconfdir}/angstrom-version
echo "Revision: ${METADATA_REVISION}" >> ${D}${sysconfdir}/angstrom-version
echo "Target system: ${TARGET_SYS}" >> ${D}${sysconfdir}/angstrom-version

View File

@@ -1,6 +1,6 @@
#!/bin/sh
VERSION="$(cat /etc/angstrom-version | head -n1 | awk '{print $2}')"
CODENAME="yoctopus"
CODENAME="Core edition"
case $1 in
"-v")