summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/orm/models.py')
-rw-r--r--bitbake/lib/toaster/orm/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index add2adea06..0aad788c2a 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -1449,6 +1449,10 @@ class ProjectLayer(models.Model):
1449 unique_together = (("project", "layercommit"),) 1449 unique_together = (("project", "layercommit"),)
1450 1450
1451class CustomImageRecipe(Recipe): 1451class CustomImageRecipe(Recipe):
1452
1453 # CustomImageRecipe's belong to layers called:
1454 LAYER_NAME = "toaster-custom-images"
1455
1452 search_allowed_fields = ['name'] 1456 search_allowed_fields = ['name']
1453 base_recipe = models.ForeignKey(Recipe, related_name='based_on_recipe') 1457 base_recipe = models.ForeignKey(Recipe, related_name='based_on_recipe')
1454 project = models.ForeignKey(Project) 1458 project = models.ForeignKey(Project)