From: Rene Wagner Date: Thu, 29 Jun 2006 22:18:45 +0000 (+0200) Subject: base.bbclass: don't try to extract monotone revision since we don't use montone X-Git-Tag: familiar-v0.8.4-rc3~46 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=811b19b110cf892eb7ed943cd3e6b6cabcd292a5;p=familiar-h63xx-build.git base.bbclass: don't try to extract monotone revision since we don't use montone Signed-off-by: Rene Wagner --- diff --git a/org.handhelds.familiar/classes/base.bbclass b/org.handhelds.familiar/classes/base.bbclass index faf2800..66563f3 100644 --- a/org.handhelds.familiar/classes/base.bbclass +++ b/org.handhelds.familiar/classes/base.bbclass @@ -513,12 +513,12 @@ python base_eventhandler() { bb.data.setVar( 'BB_VERSION', bb.__version__, e.data ) path_to_bbfiles = bb.data.getVar( 'BBFILES', e.data, 1 ) path_to_packages = path_to_bbfiles[:path_to_bbfiles.index( "packages" )] - monotone_revision = "" - try: - monotone_revision = file( "%s/MT/revision" % path_to_packages ).read().strip() - except IOError: - pass - bb.data.setVar( 'OE_REVISION', monotone_revision, e.data ) + #monotone_revision = "" + #try: + # monotone_revision = file( "%s/MT/revision" % path_to_packages ).read().strip() + #except IOError: + # pass + #bb.data.setVar( 'OE_REVISION', monotone_revision, e.data ) statusvars = ['BB_VERSION', 'OE_REVISION', 'TARGET_ARCH', 'TARGET_OS', 'MACHINE', 'DISTRO', 'TARGET_FPU'] statuslines = ["%-13s = \"%s\"" % (i, bb.data.getVar(i, e.data, 1) or '') for i in statusvars] statusmsg = "\nOE Build Configuration:\n%s\n" % '\n'.join(statuslines)