summaryrefslogtreecommitdiffstats
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:47:22 +0000
commitdf8c0540e4b3d01fa1dcb4a569b1b1282686d60a (patch)
treeeb2377138f8cbc8fdb60c7b897d47c0a3030d50b /scripts/oe-selftest
parent8d51f62cd4933013b11b6812f7585810cc035fbd (diff)
downloadpoky-df8c0540e4b3d01fa1dcb4a569b1b1282686d60a.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] (From OE-Core rev: 0156ef46ccf5334ee72f0202f1089249c62af37b) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 120a6c2de8..c3c491f20a 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe-selftest
@@ -632,8 +632,8 @@ def main():
632 for layer, values in metadata['layers'].items(): 632 for layer, values in metadata['layers'].items():
633 layer_info = '%s%-17s = %s:%s\n' % (layer_info, layer, 633 layer_info = '%s%-17s = %s:%s\n' % (layer_info, layer,
634 values['branch'], values['revision']) 634 values['branch'], values['revision'])
635 msg = 'Selftest for build %s of %s %s for machine %s on %s\n\n%s' % ( 635 msg = 'Selftest for build %s of %s for machine %s on %s\n\n%s' % (
636 log_prefix[12:], metadata['distro'], metadata['distro_version'], 636 log_prefix[12:], metadata['distro']['pretty_name'],
637 metadata['machine'], metadata['hostname'], layer_info) 637 metadata['machine'], metadata['hostname'], layer_info)
638 638
639 log.debug('Commiting results to local repository') 639 log.debug('Commiting results to local repository')