diff options
Diffstat (limited to 'scripts/oe-selftest')
-rwxr-xr-x | scripts/oe-selftest | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest index 5b045e8672..fb33c08512 100755 --- a/scripts/oe-selftest +++ b/scripts/oe-selftest | |||
@@ -604,7 +604,7 @@ def main(): | |||
604 | l_branches = {str(branch) for branch in repo.branches} | 604 | l_branches = {str(branch) for branch in repo.branches} |
605 | branch = '%s/%s/%s' % (metadata['hostname'], | 605 | branch = '%s/%s/%s' % (metadata['hostname'], |
606 | metadata['layers']['meta'].get('branch', '(nogit)'), | 606 | metadata['layers']['meta'].get('branch', '(nogit)'), |
607 | metadata['machine']) | 607 | metadata['config']['MACHINE']) |
608 | 608 | ||
609 | if branch in l_branches: | 609 | if branch in l_branches: |
610 | log.debug('Found branch in local repository, checking out') | 610 | log.debug('Found branch in local repository, checking out') |
@@ -634,7 +634,7 @@ def main(): | |||
634 | values.get('branch', '(nogit)'), values.get('commit', '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['config']['MACHINE'], metadata['hostname'], layer_info) |
638 | 638 | ||
639 | log.debug('Commiting results to local repository') | 639 | log.debug('Commiting results to local repository') |
640 | repo.index.commit(msg) | 640 | repo.index.commit(msg) |