summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/base.bbclass4
-rw-r--r--meta/conf/distro/poky.conf2
2 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index a3a795eb9..e329449f3 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -627,7 +627,7 @@ def base_get_metadata_svn_revision(d):
pass
return revision
-METADATA_REVISION_FUNCTION ?= "${@base_get_metadata_monotone_revision(d)}"
+METADATA_REVISION ?= "${@base_get_metadata_monotone_revision(d)}"
addhandler base_eventhandler
python base_eventhandler() {
@@ -659,8 +659,6 @@ python base_eventhandler() {
if name.startswith("BuildStarted"):
bb.data.setVar( 'BB_VERSION', bb.__version__, e.data )
- revision = bb.data.getVar('METADATA_REVISION_FUNCTION', e.data, 1)
- bb.data.setVar( 'METADATA_REVISION', revision, e.data )
statusvars = ['BB_VERSION', 'METADATA_REVISION', 'TARGET_ARCH', 'TARGET_OS', 'MACHINE', 'DISTRO', 'DISTRO_VERSION','TARGET_FPU']
statuslines = ["%-14s = \"%s\"" % (i, bb.data.getVar(i, e.data, 1) or '') for i in statusvars]
statusmsg = "\nOE Build Configuration:\n%s\n" % '\n'.join(statuslines)
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index dd7b0e25b..832e18f44 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -20,7 +20,7 @@ TARGET_FPU_armeb ?= "soft"
IMAGE_ROOTFS_SIZE_ext2 ?= "131072"
# Poky is svn based
-METADATA_REVISION_FUNCTION = "${@base_get_metadata_svn_revision(d)}"
+METADATA_REVISION = "${@base_get_metadata_svn_revision(d)}"
#FEED_URIS += " \
# upgrades##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/ \