diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2017-01-13 15:12:41 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 22:47:22 +0000 |
commit | ceed2c7eb51e7d5ff2c7bac2fed79742edeab5e4 (patch) | |
tree | 63c46baa91b09f0353747498d4113a01c275ef9f /scripts/oe-selftest | |
parent | 927e759bb2d229ff023b58cce498ed3ae19af46a (diff) | |
download | poky-ceed2c7eb51e7d5ff2c7bac2fed79742edeab5e4.tar.gz |
oeqa.utils.metadata: rename 'revision' to 'commit'
Revision is a bit vague and could point to a tag, for example. Git
commit objects are unambiguous and persistent so be explicit that the
element should contain git commit hash.
[YOCTO #10590]
(From OE-Core rev: a6521b89e86ddba6bd646dd3974d7b0390323b56)
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-x | scripts/oe-selftest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest index 78806a6a22..5b045e8672 100755 --- a/scripts/oe-selftest +++ b/scripts/oe-selftest | |||
@@ -631,7 +631,7 @@ def main(): | |||
631 | layer_info = '' | 631 | layer_info = '' |
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.get('branch', '(nogit)'), values.get('revision', '0'*40)) | 634 | values.get('branch', '(nogit)'), values.get('commit', '0'*40)) |
635 | msg = 'Selftest for build %s of %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']['pretty_name'], | 636 | log_prefix[12:], metadata['distro']['pretty_name'], |
637 | metadata['machine'], metadata['hostname'], layer_info) | 637 | metadata['machine'], metadata['hostname'], layer_info) |