summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/orm/models.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index d1245463ab..20557abfc7 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -721,6 +721,18 @@ class Package(models.Model):
721 section = models.CharField(max_length=80, blank=True) 721 section = models.CharField(max_length=80, blank=True)
722 license = models.CharField(max_length=80, blank=True) 722 license = models.CharField(max_length=80, blank=True)
723 723
724class CustomImagePackage(Package):
725 # CustomImageRecipe fields to track pacakges appended,
726 # included and excluded from a CustomImageRecipe
727 recipe_includes = models.ManyToManyField('CustomImageRecipe',
728 related_name='includes_set')
729 recipe_excludes = models.ManyToManyField('CustomImageRecipe',
730 related_name='excludes_set')
731 recipe_appends = models.ManyToManyField('CustomImageRecipe',
732 related_name='appends_set')
733
734
735
724class Package_DependencyManager(models.Manager): 736class Package_DependencyManager(models.Manager):
725 use_for_related_fields = True 737 use_for_related_fields = True
726 738