summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/buildinfohelper.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/buildinfohelper.py')
-rw-r--r--bitbake/lib/bb/ui/buildinfohelper.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index b1a418bca9..846465c971 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -44,7 +44,6 @@ class ORMWrapper(object):
44 44
45 def create_build_object(self, build_info): 45 def create_build_object(self, build_info):
46 assert 'machine' in build_info 46 assert 'machine' in build_info
47 assert 'image_fstypes' in build_info
48 assert 'distro' in build_info 47 assert 'distro' in build_info
49 assert 'distro_version' in build_info 48 assert 'distro_version' in build_info
50 assert 'started_on' in build_info 49 assert 'started_on' in build_info
@@ -54,7 +53,6 @@ class ORMWrapper(object):
54 53
55 build = Build.objects.create( 54 build = Build.objects.create(
56 machine=build_info['machine'], 55 machine=build_info['machine'],
57 image_fstypes=build_info['image_fstypes'],
58 distro=build_info['distro'], 56 distro=build_info['distro'],
59 distro_version=build_info['distro_version'], 57 distro_version=build_info['distro_version'],
60 started_on=build_info['started_on'], 58 started_on=build_info['started_on'],
@@ -74,8 +72,7 @@ class ORMWrapper(object):
74 tgt_object = Target.objects.create( build = target_info['build'], 72 tgt_object = Target.objects.create( build = target_info['build'],
75 target = tgt_name, 73 target = tgt_name,
76 is_image = False, 74 is_image = False,
77 file_name = "", 75 );
78 file_size = 0);
79 targets.append(tgt_object) 76 targets.append(tgt_object)
80 return targets 77 return targets
81 78
@@ -375,7 +372,6 @@ class BuildInfoHelper(object):
375 build_info['distro_version'] = self.server.runCommand(["getVariable", "DISTRO_VERSION"])[0] 372 build_info['distro_version'] = self.server.runCommand(["getVariable", "DISTRO_VERSION"])[0]
376 build_info['started_on'] = datetime.datetime.now() 373 build_info['started_on'] = datetime.datetime.now()
377 build_info['completed_on'] = datetime.datetime.now() 374 build_info['completed_on'] = datetime.datetime.now()
378 build_info['image_fstypes'] = self._remove_redundant(self.server.runCommand(["getVariable", "IMAGE_FSTYPES"])[0] or "")
379 build_info['cooker_log_path'] = self.server.runCommand(["getVariable", "BB_CONSOLELOG"])[0] 375 build_info['cooker_log_path'] = self.server.runCommand(["getVariable", "BB_CONSOLELOG"])[0]
380 build_info['build_name'] = self.server.runCommand(["getVariable", "BUILDNAME"])[0] 376 build_info['build_name'] = self.server.runCommand(["getVariable", "BUILDNAME"])[0]
381 build_info['bitbake_version'] = self.server.runCommand(["getVariable", "BB_VERSION"])[0] 377 build_info['bitbake_version'] = self.server.runCommand(["getVariable", "BB_VERSION"])[0]
@@ -633,7 +629,6 @@ class BuildInfoHelper(object):
633 recipe_info['license'] = event._depgraph['pn'][pn]['license'] 629 recipe_info['license'] = event._depgraph['pn'][pn]['license']
634 recipe_info['description'] = event._depgraph['pn'][pn]['description'] 630 recipe_info['description'] = event._depgraph['pn'][pn]['description']
635 recipe_info['section'] = event._depgraph['pn'][pn]['section'] 631 recipe_info['section'] = event._depgraph['pn'][pn]['section']
636 recipe_info['licensing_info'] = 'Not Available'
637 recipe_info['homepage'] = event._depgraph['pn'][pn]['homepage'] 632 recipe_info['homepage'] = event._depgraph['pn'][pn]['homepage']
638 recipe_info['bugtracker'] = event._depgraph['pn'][pn]['bugtracker'] 633 recipe_info['bugtracker'] = event._depgraph['pn'][pn]['bugtracker']
639 recipe_info['file_path'] = file_name 634 recipe_info['file_path'] = file_name
@@ -728,7 +723,6 @@ class BuildInfoHelper(object):
728 m = re.match("([^:]*): md5 checksum matched for ([^;]*)", event.msg) 723 m = re.match("([^:]*): md5 checksum matched for ([^;]*)", event.msg)
729 if m: 724 if m:
730 (pn, fn) = m.groups() 725 (pn, fn) = m.groups()
731 self.internal_state['recipes'][pn].licensing_info = fn
732 self.internal_state['recipes'][pn].save() 726 self.internal_state['recipes'][pn].save()
733 727
734 if event.levelno < format.WARNING: 728 if event.levelno < format.WARNING: