From ee250eb7e4be2c2964bbeeada93dfff7b8d5e72f Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Tue, 26 Aug 2014 15:36:29 +0100 Subject: bitbake: toaster: update the bldcontrol to the new orm models We update the build controller application to make proper use of the bitbake specification in project settings. Added heuristic to detect when the meta* layers and bitbake are checked out from Yocto Project poky, and use a single git checkout. Building without a proper oe-init-build-env is not yet supported. (Bitbake rev: 9eafe14956013f5af39b68fc93e1b03e7ea1f5c2) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/toaster/bldcontrol/models.py | 5 +++++ 1 file changed, 5 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 8c271ffa94..4c54a59b1a 100644 --- a/bitbake/lib/toaster/bldcontrol/models.py +++ b/bitbake/lib/toaster/bldcontrol/models.py @@ -75,6 +75,11 @@ class BRLayer(models.Model): commit = models.CharField(max_length = 254) dirpath = models.CharField(max_length = 254) +class BRBitbake(models.Model): + req = models.ForeignKey(BuildRequest, unique = True) # only one bitbake for a request + 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