summaryrefslogtreecommitdiff
path: root/packages/kaeilos
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@koansoftware.com>2008-12-16 12:29:22 +0100
committerMarcin Juszkiewicz <hrw@koansoftware.com>2009-02-12 14:00:23 +0100
commitfa3013aee7d41e334cd1ec62d6c1fb7a30d63d1a (patch)
treeef9c00fefb280cd13c6226975bfe197aa0bf382a /packages/kaeilos
parent0c713936610b52b71b94c79add4196cb0becb64d (diff)
kaeilos-version: first version (based on angstrom-version)
Diffstat (limited to 'packages/kaeilos')
-rw-r--r--packages/kaeilos/kaeilos-version.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/kaeilos/kaeilos-version.bb b/packages/kaeilos/kaeilos-version.bb
new file mode 100644
index 0000000000..4600c41d4e
--- /dev/null
+++ b/packages/kaeilos/kaeilos-version.bb
@@ -0,0 +1,18 @@
+LICENSE = "MIT"
+
+PV = "${DISTRO_VERSION}"
+PR = "r2"
+PE = "1"
+
+PACKAGES = "${PN}"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+export METADATA_REVISION
+export METADATA_BRANCH
+
+do_install() {
+ mkdir -p ${D}${sysconfdir}
+ echo "KaeilOS ${DISTRO_VERSION}" > ${D}${sysconfdir}/kaeilos-version
+ echo "Built from branch: ${METADATA_BRANCH}" >> ${D}${sysconfdir}/kaeilos-version
+ echo "Revision: ${METADATA_REVISION}" >> ${D}${sysconfdir}/kaeilos-version
+}