[yocto] [[PATCH][yocto-autobuilder] 2/2] buildsteps/RunOeSelftest.py: Set native_lsb to universal

Aníbal Limón anibal.limon at linux.intel.com
Mon Jul 11 14:37:53 PDT 2016


The error report is generated into AB master and currently we
don't have a method to get AB worker distro, so set to universal.

Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
---
 lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py b/lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py
index 5b9e408..809bcc3 100644
--- a/lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py
+++ b/lib/python2.7/site-packages/autobuilder/buildsteps/RunOeSelftest.py
@@ -52,7 +52,9 @@ class RunOeSelftest(ShellCommand):
         report['machine'] = 'universal'
         report['build_sys'] = "%s-%s" % (platform.machine(),
                 platform.system().lower())
-        report['nativelsb'] = get_lsb_distro() or 'universal'
+        # XXX: Set to universal because isn't easy to get Autobuilder
+        # worker distro.
+        report['nativelsb'] = 'universal' 
         report['distro'] = 'universal'
         report['target_sys'] = 'universal'
 
-- 
2.1.4




More information about the yocto mailing list