diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index a0a2d80ffa..1f66595887 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -69,6 +69,8 @@ class ORMWrapper(object): | |||
69 | from bldcontrol.models import BuildEnvironment, BuildRequest | 69 | from bldcontrol.models import BuildEnvironment, BuildRequest |
70 | br, be = brbe.split(":") | 70 | br, be = brbe.split(":") |
71 | buildrequest = BuildRequest.objects.get(pk = br) | 71 | buildrequest = BuildRequest.objects.get(pk = br) |
72 | buildrequest.build = build | ||
73 | buildrequest.save() | ||
72 | build.project_id = buildrequest.project_id | 74 | build.project_id = buildrequest.project_id |
73 | build.save() | 75 | build.save() |
74 | 76 | ||
@@ -939,7 +941,6 @@ class BuildInfoHelper(object): | |||
939 | be.save() | 941 | be.save() |
940 | br = BuildRequest.objects.get(pk = br_id) | 942 | br = BuildRequest.objects.get(pk = br_id) |
941 | br.state = BuildRequest.REQ_COMPLETED | 943 | br.state = BuildRequest.REQ_COMPLETED |
942 | br.build = self.internal_state['build'] | ||
943 | br.save() | 944 | br.save() |
944 | 945 | ||
945 | 946 | ||