From 5827ae0a0841bbf309297e7522bdd13bc67c1715 Mon Sep 17 00:00:00 2001 From: Sujith H Date: Mon, 1 Aug 2016 07:25:15 +0000 Subject: bitbake: toaster: update build configuration page Update layer branch and layer commit section in the build configuration page for locally imported layers. For locally imported layers this secion goes as "Not applicable". [YOCO #9911] (Bitbake rev: 4ca3f602a955e01d445fb4789496e925f8d4234b) Signed-off-by: Sujith H Signed-off-by: Richard Purdie --- .../lib/toaster/toastergui/templates/configuration.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/bitbake/lib/toaster/toastergui/templates/configuration.html b/bitbake/lib/toaster/toastergui/templates/configuration.html index 1d0ec3f484..58989f865c 100644 --- a/bitbake/lib/toaster/toastergui/templates/configuration.html +++ b/bitbake/lib/toaster/toastergui/templates/configuration.html @@ -53,11 +53,25 @@ {% for lv in build.layer_version_build.all|dictsort:"layer.name" %} {{lv.layer.name}} + {% if lv.layer.local_source_dir %} + + Not applicable + + + {% else %} {{lv.branch}} + {% endif %} + {% if lv.layer.local_source_dir %} + + Not applicable + + + {% else %} {{lv.commit|truncatechars:13}} + {% endif %} {% endfor %} -- cgit v1.2.3-54-g00ecf