diff options
Diffstat (limited to 'bitbake/lib/bb/ui/buildinfohelper.py')
| -rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 2fc1a43c40..78f1e9274f 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
| @@ -784,7 +784,7 @@ class BuildInfoHelper(object): | |||
| 784 | ## methods to convert event/external info into objects that the ORM layer uses | 784 | ## methods to convert event/external info into objects that the ORM layer uses |
| 785 | 785 | ||
| 786 | 786 | ||
| 787 | def _get_build_information(self, consolelogfile): | 787 | def _get_build_information(self, build_log_path): |
| 788 | build_info = {} | 788 | build_info = {} |
| 789 | # Generate an identifier for each new build | 789 | # Generate an identifier for each new build |
| 790 | 790 | ||
| @@ -793,7 +793,7 @@ class BuildInfoHelper(object): | |||
| 793 | build_info['distro_version'] = self.server.runCommand(["getVariable", "DISTRO_VERSION"])[0] | 793 | build_info['distro_version'] = self.server.runCommand(["getVariable", "DISTRO_VERSION"])[0] |
| 794 | build_info['started_on'] = timezone.now() | 794 | build_info['started_on'] = timezone.now() |
| 795 | build_info['completed_on'] = timezone.now() | 795 | build_info['completed_on'] = timezone.now() |
| 796 | build_info['cooker_log_path'] = consolelogfile | 796 | build_info['cooker_log_path'] = build_log_path |
| 797 | build_info['build_name'] = self.server.runCommand(["getVariable", "BUILDNAME"])[0] | 797 | build_info['build_name'] = self.server.runCommand(["getVariable", "BUILDNAME"])[0] |
| 798 | build_info['bitbake_version'] = self.server.runCommand(["getVariable", "BB_VERSION"])[0] | 798 | build_info['bitbake_version'] = self.server.runCommand(["getVariable", "BB_VERSION"])[0] |
| 799 | 799 | ||
| @@ -934,9 +934,9 @@ class BuildInfoHelper(object): | |||
| 934 | logger.warn("buildinfohelper: cannot identify layer exception:%s ", nee) | 934 | logger.warn("buildinfohelper: cannot identify layer exception:%s ", nee) |
| 935 | 935 | ||
| 936 | 936 | ||
| 937 | def store_started_build(self, event, consolelogfile): | 937 | def store_started_build(self, event, build_log_path): |
| 938 | assert '_pkgs' in vars(event) | 938 | assert '_pkgs' in vars(event) |
| 939 | build_information = self._get_build_information(consolelogfile) | 939 | build_information = self._get_build_information(build_log_path) |
| 940 | 940 | ||
| 941 | build_obj = self.orm_wrapper.create_build_object(build_information, self.brbe, self.project) | 941 | build_obj = self.orm_wrapper.create_build_object(build_information, self.brbe, self.project) |
| 942 | 942 | ||
