[oe-commits] Petr Štetiar : oestats-client.bbclass: send USERDISTRO value

git version control git at git.openembedded.org
Tue Oct 19 16:48:48 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: d875046057cb33f0910bd7b6973985a2f9656467
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d875046057cb33f0910bd7b6973985a2f9656467

Author: Petr Štetiar <ynezz at true.cz>
Date:   Fri Oct 15 22:49:48 2010 +0000

oestats-client.bbclass: send USERDISTRO value

With this patch it's now possible to see the correct Angstrom distro version
in the Tinderbox. Now the distribution value is always 'angstrom', with this
patch it would be more detailed version 'angstrom-2008.1' for example.

Signed-off-by: Petr Štetiar <ynezz at true.cz>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Acked-by: Chris Larson <chris_larson at mentor.com>
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

---

 classes/oestats-client.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/oestats-client.bbclass b/classes/oestats-client.bbclass
index 4415461..a98c9d1 100644
--- a/classes/oestats-client.bbclass
+++ b/classes/oestats-client.bbclass
@@ -77,7 +77,7 @@ def oestats_start(server, builder, d):
 			'metadata_branch': bb.data.getVar('METADATA_BRANCH', d, True),
 			'metadata_revision': bb.data.getVar('METADATA_REVISION', d, True),
 			'machine': bb.data.getVar('MACHINE', d, True),
-			'distro': bb.data.getVar('DISTRO', d, True),
+			'distro': bb.data.getVar('USERDISTRO', d, True),
 		})
 		if re.match("^\d+$", data): id=data
 	except:





More information about the Openembedded-commits mailing list