summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-12-04 16:12:33 +0100
committerKoen Kooi <koen@openembedded.org>2008-12-04 16:12:33 +0100
commit177817f60e20e3d5e7d78d59cb0d23932c8ceb63 (patch)
treebcb4cbaf3350199e115bda0a8902e124b6c52440 /packages
parent0d4ff93f04655e30ddb9503bae7260fe6581e685 (diff)
angstrom-version: include branch and revision
Diffstat (limited to 'packages')
-rw-r--r--packages/angstrom/angstrom-version.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/angstrom/angstrom-version.bb b/packages/angstrom/angstrom-version.bb
index ece77495b1..6f1043cec0 100644
--- a/packages/angstrom/angstrom-version.bb
+++ b/packages/angstrom/angstrom-version.bb
@@ -1,14 +1,18 @@
LICENSE = "MIT"
PV = "${DISTRO_VERSION}"
-PR = "r1"
+PR = "r2"
PE = "1"
PACKAGES = "${PN}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
+export METADATA_REVISION
+export METADATA_BRANCH
+
do_install() {
mkdir -p ${D}${sysconfdir}
echo "Angstrom ${DISTRO_VERSION}" > ${D}${sysconfdir}/angstrom-version
-
+ echo "Built from branch: ${METADATA_BRANCH}" >> ${D}${sysconfdir}/angstrom-version
+ echo "Revision: ${METADATA_REVISION}" >> ${D}${sysconfdir}/angstrom-version
}