From 5aba3d7fcc3a9edf477bedeced96444b2fbcb8be Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Tue, 15 Jul 2014 13:01:56 +0100 Subject: bitbake: toaster: improved Project models A layer may live in a subdirectory of a git repository, so we add a field to track this setting in the Project layers. We add the Project schedule_build function, which creates a build request from the current project configuration. We also fix an import problem with Projects in views. (Bitbake rev: 1b5835e5d48cbfb7d38e38437c45d161052dfb37) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/toaster/bldcontrol/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitbake/lib/toaster/bldcontrol/models.py') diff --git a/bitbake/lib/toaster/bldcontrol/models.py b/bitbake/lib/toaster/bldcontrol/models.py index 8285257c8e..1f253ffb22 100644 --- a/bitbake/lib/toaster/bldcontrol/models.py +++ b/bitbake/lib/toaster/bldcontrol/models.py @@ -71,6 +71,8 @@ class BRLayer(models.Model): name = models.CharField(max_length = 100) giturl = models.CharField(max_length = 254) commit = models.CharField(max_length = 254) + dirpath = models.CharField(max_length = 254) + class BRVariable(models.Model): req = models.ForeignKey(BuildRequest) -- cgit v1.2.3-54-g00ecf