diff options
Diffstat (limited to 'bitbake/lib/bb/ui/buildinfohelper.py')
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 7fedb76911..bddce4f4b7 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -42,7 +42,7 @@ from orm.models import Variable, VariableHistory | |||
42 | from orm.models import Package, Package_File, Target_Installed_Package, Target_File | 42 | from orm.models import Package, Package_File, Target_Installed_Package, Target_File |
43 | from orm.models import Task_Dependency, Package_Dependency | 43 | from orm.models import Task_Dependency, Package_Dependency |
44 | from orm.models import Recipe_Dependency, Provides | 44 | from orm.models import Recipe_Dependency, Provides |
45 | from orm.models import Project, CustomImagePackage | 45 | from orm.models import Project, CustomImagePackage, CustomImageRecipe |
46 | 46 | ||
47 | from bldcontrol.models import BuildEnvironment, BuildRequest | 47 | from bldcontrol.models import BuildEnvironment, BuildRequest |
48 | 48 | ||
@@ -347,7 +347,7 @@ class ORMWrapper(object): | |||
347 | # Special case the toaster-custom-images layer which is created | 347 | # Special case the toaster-custom-images layer which is created |
348 | # on the fly so don't update the values which may cause the layer | 348 | # on the fly so don't update the values which may cause the layer |
349 | # to be duplicated on a future get_or_create | 349 | # to be duplicated on a future get_or_create |
350 | if layer_obj.layer.name == "toaster-custom-images": | 350 | if layer_obj.layer.name == CustomImageRecipe.LAYER_NAME: |
351 | return layer_obj | 351 | return layer_obj |
352 | # We already found our layer version for this build so just | 352 | # We already found our layer version for this build so just |
353 | # update it with the new build information | 353 | # update it with the new build information |