diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-03-23 08:28:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-23 17:53:55 +0000 |
commit | 302509214255f7a2b7226e5a6b8a2e361b826168 (patch) | |
tree | 5a8b45173765da37da0d682b11c0ca90788aaea9 /bitbake/lib/toaster/toastergui/views.py | |
parent | 3df6551d8c7963324a0bcd904ca89232d2569ab1 (diff) | |
download | poky-302509214255f7a2b7226e5a6b8a2e361b826168.tar.gz |
bitbake: 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.
(Bitbake rev: 2540969ec71612af7f9041cadcc401513e9b357b)
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 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 85ca9be716..15760b36de 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -2407,7 +2407,7 @@ if True: | |||
2407 | 2407 | ||
2408 | # create layer 'Custom layer' and verion if needed | 2408 | # create layer 'Custom layer' and verion if needed |
2409 | layer = Layer.objects.get_or_create( | 2409 | layer = Layer.objects.get_or_create( |
2410 | name="toaster-custom-images", | 2410 | name=CustomImageRecipe.LAYER_NAME, |
2411 | summary="Layer for custom recipes", | 2411 | summary="Layer for custom recipes", |
2412 | vcs_url="file:///toaster_created_layer")[0] | 2412 | vcs_url="file:///toaster_created_layer")[0] |
2413 | 2413 | ||