From 811b19b110cf892eb7ed943cd3e6b6cabcd292a5 Mon Sep 17 00:00:00 2001 From: Rene Wagner Date: Fri, 30 Jun 2006 00:18:45 +0200 Subject: [PATCH] base.bbclass: don't try to extract monotone revision since we don't use montone Signed-off-by: Rene Wagner --- org.handhelds.familiar/classes/base.bbclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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) -- 2.41.1