[oe-commits] Koen Kooi : angstrom: add TARGET_SYS to /etc/angstrom-version
git version control
git at git.openembedded.org
Wed May 5 20:57:32 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: cf55ad281a61a4e201c1bc0c388becbfda72709e
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=cf55ad281a61a4e201c1bc0c388becbfda72709e
Author: Koen Kooi <koen at openembedded.org>
Date: Wed May 5 13:05:50 2010 +0200
angstrom: add TARGET_SYS to /etc/angstrom-version
---
recipes/angstrom/angstrom-version.bb | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/recipes/angstrom/angstrom-version.bb b/recipes/angstrom/angstrom-version.bb
index 6f1043c..1728c0d 100644
--- a/recipes/angstrom/angstrom-version.bb
+++ b/recipes/angstrom/angstrom-version.bb
@@ -1,7 +1,7 @@
LICENSE = "MIT"
PV = "${DISTRO_VERSION}"
-PR = "r2"
+PR = "r3"
PE = "1"
PACKAGES = "${PN}"
@@ -9,10 +9,12 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
export METADATA_REVISION
export METADATA_BRANCH
+export TARGET_SYS
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
+ echo "Target system: ${TARGET_SYS}" >> ${D}${sysconfdir}/angstrom-version
}
More information about the Openembedded-commits
mailing list