oestats-client.bbclass: send USERDISTRO value
authorPetr Štetiar <ynezz@true.cz>
Fri, 15 Oct 2010 22:49:48 +0000 (22:49 +0000)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Tue, 19 Oct 2010 16:45:30 +0000 (18:45 +0200)
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@true.cz>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
classes/oestats-client.bbclass

index 4415461..a98c9d1 100644 (file)
@@ -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: