summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-03-23 08:28:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-23 17:53:51 +0000
commit2540969ec71612af7f9041cadcc401513e9b357b (patch)
tree04e6b8d88b7c45d8dacf5651d5793f34afcbf9c5 /lib/toaster/toastergui
parent502148fe498fe0a41ae89c9f649d3cb1253b0487 (diff)
downloadbitbake-2540969ec71612af7f9041cadcc401513e9b357b.tar.gz
toaster: orm Add a constant for the CustomImageRecipe's layer name
Use a constant to define the name for the toaster custom images layer; this constant is then used to identify this layer in various places. Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/toastergui')
-rwxr-xr-xlib/toaster/toastergui/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/toaster/toastergui/views.py b/lib/toaster/toastergui/views.py
index 85ca9be71..15760b36d 100755
--- a/lib/toaster/toastergui/views.py
+++ b/lib/toaster/toastergui/views.py
@@ -2407,7 +2407,7 @@ if True:
# create layer 'Custom layer' and verion if needed
layer = Layer.objects.get_or_create(
- name="toaster-custom-images",
+ name=CustomImageRecipe.LAYER_NAME,
summary="Layer for custom recipes",
vcs_url="file:///toaster_created_layer")[0]