mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
bitbake: toaster: orm Add last_updated field to CustomImageRecipe
Field to keep track of when the package list for the CustomImageRecipe was last updated from a build. (Bitbake rev: 4bd4e49f13a7625997a43f3b2e67ed42c3c8e08b) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
18d8b17052
commit
86db0bd7f2
@@ -1446,6 +1446,7 @@ class CustomImageRecipe(Recipe):
|
||||
search_allowed_fields = ['name']
|
||||
base_recipe = models.ForeignKey(Recipe, related_name='based_on_recipe')
|
||||
project = models.ForeignKey(Project)
|
||||
last_updated = models.DateTimeField(null=True, default=None)
|
||||
|
||||
def get_last_successful_built_target(self):
|
||||
""" Return the last successful built target object if one exists
|
||||
|
||||
Reference in New Issue
Block a user