summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}