aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/bldcontrol/models.py
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-08-08 15:11:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-11 00:08:18 +0100
commita3112c922f036425977abffa0137b9133f61fcd6 (patch)
treeb5467eca653eb74159ddef0b7c55e005f17c5c65 /lib/toaster/bldcontrol/models.py
parentf855490dd04281beb5ae65d82430203d9fd263fc (diff)
downloadbitbake-a3112c922f036425977abffa0137b9133f61fcd6.tar.gz
toaster: bldcontrol model BRLayer Add corresponding local_source_dir
Sync the BRLayer object with the new field added to the Layer object. The BRLayer (BuildRequest Layers) are snapshots of the layers in the project at build time and therefore need to mirror the required fields of the layer object. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Diffstat (limited to 'lib/toaster/bldcontrol/models.py')
-rw-r--r--lib/toaster/bldcontrol/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/toaster/bldcontrol/models.py b/lib/toaster/bldcontrol/models.py
index f05548068..83b696947 100644
--- a/lib/toaster/bldcontrol/models.py
+++ b/lib/toaster/bldcontrol/models.py
@@ -130,6 +130,7 @@ class BRLayer(models.Model):
req = models.ForeignKey(BuildRequest)
name = models.CharField(max_length = 100)
giturl = models.CharField(max_length = 254)
+ local_source_dir = models.CharField(max_length=254, null=True)
commit = models.CharField(max_length = 254)
dirpath = models.CharField(max_length = 254)
layer_version = models.ForeignKey(Layer_Version, null=True)