[oe-commits] Simon Busch : aurora-version: add initial recipe as copy of shr-version

git version control git at git.openembedded.org
Thu May 19 12:13:37 UTC 2011


Module: openembedded.git
Branch: master
Commit: b232bbb941c312bede7dbfcce59fcd13030845bf
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=b232bbb941c312bede7dbfcce59fcd13030845bf

Author: Simon Busch <morphis at gravedo.de>
Date:   Thu Apr 28 09:46:05 2011 +0200

aurora-version: add initial recipe as copy of shr-version

Signed-off-by: Simon Busch <morphis at gravedo.de>

---

 recipes/aurora/aurora-version.bb |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/recipes/aurora/aurora-version.bb b/recipes/aurora/aurora-version.bb
new file mode 100644
index 0000000..3dbed10
--- /dev/null
+++ b/recipes/aurora/aurora-version.bb
@@ -0,0 +1,13 @@
+LICENSE = "MIT"
+
+PV = "${DISTRO_VERSION}"
+
+PACKAGES = "${PN}"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+do_install() {
+	mkdir -p ${D}${sysconfdir}
+	echo "Aurora ${DISTRO_VERSION}" > ${D}${sysconfdir}/aurora-version
+	echo "Built from branch: ${METADATA_BRANCH}" >> ${D}${sysconfdir}/aurora-version
+	echo "Revision: ${METADATA_REVISION}" >> ${D}${sysconfdir}/aurora-version
+}





More information about the Openembedded-commits mailing list