[oe] [PATCH] oestats-client.bbclass: send USERDISTRO value

Petr Štetiar ynezz at true.cz
Sat Oct 16 08:49:48 UTC 2010


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>
---
 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:
-- 
1.7.0.4





More information about the Openembedded-devel mailing list