[oe-commits] Martin Jansa : shr-version don' t export METADATA_BRANCH and METADATA_REVISION

git version control git at git.openembedded.org
Fri Nov 12 05:06:37 UTC 2010


Module: openembedded.git
Branch: testing-next
Commit: b6d7a41d8ae0c916b217264b135998ac2d8bce4c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b6d7a41d8ae0c916b217264b135998ac2d8bce4c

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Fri Nov  5 08:47:23 2010 +0100

shr-version don't export METADATA_BRANCH and METADATA_REVISION

* otherwise you'll get
  NOTE: <type 'exceptions.RuntimeError'>:maximum recursion depth exceeded
  while calling a Python object while evaluating: ${@base_get_scm_branch(d)}

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

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

diff --git a/recipes/shr/shr-version.bb b/recipes/shr/shr-version.bb
index 26618aa..3b86861 100644
--- a/recipes/shr/shr-version.bb
+++ b/recipes/shr/shr-version.bb
@@ -5,9 +5,6 @@ PV = "1.0${DISTRO_VERSION}"
 PACKAGES = "${PN}"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-export METADATA_REVISION
-export METADATA_BRANCH
-
 do_install() {
 	mkdir -p ${D}${sysconfdir}
 	echo "SHR ${DISTRO_VERSION}" > ${D}${sysconfdir}/shr-version





More information about the Openembedded-commits mailing list