diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-07-12 15:54:55 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-19 08:56:52 +0100 |
commit | 9475a684c4baa45ba7bdc6ac7a122c122ed17ed9 (patch) | |
tree | bc8d87a618273e648b703362e3640af8b01e7b36 /bitbake/lib/toaster/toastergui/templates/basebuildpage.html | |
parent | 2db40e377148c862161125a56bb3b9d5d2ed9a7c (diff) | |
download | poky-9475a684c4baa45ba7bdc6ac7a122c122ed17ed9.tar.gz |
bitbake: toaster: the customise image button shouldn't rely on targets
The build dashboard customise image button (for creating a new
custom image based on an image recipe used by a build) shouldn't
rely on targets: whether a new custom image can be created or not
depends on whether any of the recipes used by the build are image
recipes.
Modify the method used to determine whether a build has customisable
images to look at the image recipes used during the build, rather
than whether the targets run by the build refer to image recipes.
(Bitbake rev: 6648876c91134bda8498b4f8d7ace9147ec0d985)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: bavery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basebuildpage.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basebuildpage.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html index 8d7c562640..eb709bbd43 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html | |||
@@ -117,7 +117,7 @@ | |||
117 | {% endwith %} | 117 | {% endwith %} |
118 | 118 | ||
119 | <!-- new custom image from image recipe in this build --> | 119 | <!-- new custom image from image recipe in this build --> |
120 | {% if build.has_image_targets %} | 120 | {% if build.has_image_recipes %} |
121 | <button class="btn btn-default btn-block navbar-btn" data-role="new-custom-image-trigger">New custom image</button> | 121 | <button class="btn btn-default btn-block navbar-btn" data-role="new-custom-image-trigger">New custom image</button> |
122 | {% include 'newcustomimage_modal.html' %} | 122 | {% include 'newcustomimage_modal.html' %} |
123 | <script> | 123 | <script> |