summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/models.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-08-26 15:36:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-29 13:56:50 +0100
commitee250eb7e4be2c2964bbeeada93dfff7b8d5e72f (patch)
tree5142b3c1fbf3f9105977aad3dee8839bc51af3e1 /bitbake/lib/toaster/bldcontrol/models.py
parent95df54238b6013c374215905b1937fbac72cdd63 (diff)
downloadpoky-ee250eb7e4be2c2964bbeeada93dfff7b8d5e72f.tar.gz
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 <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/models.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/models.py5
1 files changed, 5 insertions, 0 deletions
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):
75 commit = models.CharField(max_length = 254) 75 commit = models.CharField(max_length = 254)
76 dirpath = models.CharField(max_length = 254) 76 dirpath = models.CharField(max_length = 254)
77 77
78class BRBitbake(models.Model):
79 req = models.ForeignKey(BuildRequest, unique = True) # only one bitbake for a request
80 giturl = models.CharField(max_length =254)
81 commit = models.CharField(max_length = 254)
82 dirpath = models.CharField(max_length = 254)
78 83
79class BRVariable(models.Model): 84class BRVariable(models.Model):
80 req = models.ForeignKey(BuildRequest) 85 req = models.ForeignKey(BuildRequest)