aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/oe-selftest
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-01-13 15:12:38 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 22:45:45 +0000
commit0156ef46ccf5334ee72f0202f1089249c62af37b (patch)
treefbd1e493c84b16f4b6872a8d04fa91dc87ac563a /scripts/oe-selftest
parent98cad0b4063772dad94fea96edce1a5422256c32 (diff)
downloadopenembedded-core-contrib-0156ef46ccf5334ee72f0202f1089249c62af37b.tar.gz
oeqa.utils.metadata: re-organise distro information
Use the same format, based on /etc/os-release, as for host distro information. [YOCTO #10590] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/oe-selftest')
-rwxr-xr-xscripts/oe-selftest4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index 120a6c2de81..c3c491f20af 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe-selftest
@@ -632,8 +632,8 @@ def main():
for layer, values in metadata['layers'].items():
layer_info = '%s%-17s = %s:%s\n' % (layer_info, layer,
values['branch'], values['revision'])
- msg = 'Selftest for build %s of %s %s for machine %s on %s\n\n%s' % (
- log_prefix[12:], metadata['distro'], metadata['distro_version'],
+ msg = 'Selftest for build %s of %s for machine %s on %s\n\n%s' % (
+ log_prefix[12:], metadata['distro']['pretty_name'],
metadata['machine'], metadata['hostname'], layer_info)
log.debug('Commiting results to local repository')