diff options
author | Jesse Gilles <jgilles@multitech.com> | 2010-04-30 11:56:25 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2010-04-30 11:56:25 -0500 |
commit | 823c8fcf1e96ddc7e850fb9c3ff4284f4470715c (patch) | |
tree | 5d1371ed9d5b803db11e79e591f471b5052ceb32 /recipes/multitech/corecdp-version.bb | |
parent | e67d07d03d2615f7403730e6818199f2fbd97cb2 (diff) |
add corecdp-version
Diffstat (limited to 'recipes/multitech/corecdp-version.bb')
-rw-r--r-- | recipes/multitech/corecdp-version.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/multitech/corecdp-version.bb b/recipes/multitech/corecdp-version.bb new file mode 100644 index 0000000000..6b4bd379cb --- /dev/null +++ b/recipes/multitech/corecdp-version.bb @@ -0,0 +1,18 @@ +LICENSE = "MIT" + +PV = "${DISTRO_VERSION}" +PR = "r1" +PE = "1" + +PACKAGES = "${PN}" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +export METADATA_REVISION +export METADATA_BRANCH + +do_install() { + mkdir -p ${D}${sysconfdir} + echo "CoreCDP ${DISTRO_VERSION}" > ${D}${sysconfdir}/corecdp-version + echo "Built from branch: ${METADATA_BRANCH}" >> ${D}${sysconfdir}/corecdp-version + echo "Revision: ${METADATA_REVISION}" >> ${D}${sysconfdir}/corecdp-version +} |