diff options
author | Farrell Wymore <farrell.wymore@windriver.com> | 2014-05-23 12:09:29 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-20 14:03:58 +0100 |
commit | fee3a886950b0adf18b249f9647eb6bb39650ea2 (patch) | |
tree | a419dd6fd448e4f2c58b4ffd957b026401740f6f /bitbake/lib/toaster/toastergui/templates | |
parent | 457091dc5650d92b2d6bc99cc37b4f1118606a0e (diff) | |
download | ast2050-yocto-poky-fee3a886950b0adf18b249f9647eb6bb39650ea2.zip ast2050-yocto-poky-fee3a886950b0adf18b249f9647eb6bb39650ea2.tar.gz |
bitbake: toaster: display message if no images are generated
Display message if no images are generated for a target. This
commit was amended to have more conditions for displaying the
message.
[YOCTO #6094]
(Bitbake rev: ac1911eb857f4759ed085c8a4fc4b47cefafcd7a)
Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/builddashboard.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html index 9bd094e..f83ae08 100644 --- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html +++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html @@ -83,6 +83,19 @@ <dd><a href="{% url 'target' build.pk target.target.pk %}">{{target.npkg}}</a></dd> <dt>Total package size</dt> <dd>{{target.pkgsz|filtered_filesizeformat}}</dd> + {% if target.targetHasNoImages %} + <div class="alert alert-info"> + <p> + <b>This build did not create any image files</b> + </p> + <p> + This is probably because valid image and license manifest + files from a previous build already exist in your + .../poky/build/tmp/deploy directory. You can also <b>view the + license manifest information</b> in Toaster. + </p> + </div> + {% else %} <dt> <i class="icon-question-sign get-help" title="The location in disk of the license manifest, a document listing all packages installed in your image and their licenses"></i> <a href="{% url 'targetpkg' build.pk target.target.pk %}">License manifest</a> @@ -100,10 +113,12 @@ {% endfor %} </ul> </dd> + {% endif %} </dl> </div> {% endif %} {% endfor %} + {% endif %} </div> |