summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-02-15 17:29:40 +0000
committerRichard Purdie <richard@openedhand.com>2008-02-15 17:29:40 +0000
commitcb7d25e1836527544afaa53394908634e2529a0b (patch)
treed9a54c6653cd89bc8a48cddc6df732693d16da7a /meta
parent094234f792b4ae4acd21e87542ab25b3e9f7c3ef (diff)
downloadopenembedded-core-cb7d25e1836527544afaa53394908634e2529a0b.tar.gz
openembedded-core-cb7d25e1836527544afaa53394908634e2529a0b.tar.bz2
openembedded-core-cb7d25e1836527544afaa53394908634e2529a0b.zip
meta-toolchain: Add version data to the sdk tarballs
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3820 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/meta/meta-toolchain.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb
index fb213b88b5..525d090916 100644
--- a/meta/packages/meta/meta-toolchain.bb
+++ b/meta/packages/meta/meta-toolchain.bb
@@ -123,6 +123,14 @@ do_populate_sdk() {
echo 'export PKG_CONFIG_PATH=${prefix}/${TARGET_SYS}/lib/pkgconfig' >> $script
echo 'export CONFIG_SITE=${prefix}/site-config' >> $script
+ # Add version information
+ versionfile=${SDK_OUTPUT}/${prefix}/version
+ touch $versionfile
+ echo 'Distro: ${DISTRO}' >> $versionfile
+ echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile
+ echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile
+ echo 'Timestamp: ${DATETIME}' >> $versionfile
+
# Package it up
mkdir -p ${SDK_DEPLOY}
cd ${SDK_OUTPUT}