From c2c58a1879de1b76c380e098075eebf498b1d3f9 Mon Sep 17 00:00:00 2001 From: Sujith H Date: Tue, 19 Jul 2016 07:51:50 +0000 Subject: [PATCH] bitbake: toaster: add import of local directory to UI This patch will help to add local directory to UI. The modification is made in importlayer.html file. The radio buttons are created to separate selection of git based repo and local directory. Co-Author: Belen Barros Pena [YOCOT #9911] (Bitbake rev: 78e5edb8ed4bf6c8b0fb87fcf17a82485c145920) Signed-off-by: Sujith H Signed-off-by: Richard Purdie --- .../toastergui/templates/importlayer.html | 192 ++++++++++-------- 1 file changed, 110 insertions(+), 82 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/templates/importlayer.html b/bitbake/lib/toaster/toastergui/templates/importlayer.html index dd81f2f379..eb0244090b 100644 --- a/bitbake/lib/toaster/toastergui/templates/importlayer.html +++ b/bitbake/lib/toaster/toastergui/templates/importlayer.html @@ -26,16 +26,14 @@
+ The layer you are importing must be compatible with {{project.release.description}}, which is the release you are using in this project. +
-

Layer repository information

- The layer you are importing must be compatible with {{project.release.description}}, which is the release you are using in this project. - -
- - - -
-
- - - -
-
- - -
-
- - - -
-
-
- -
-
-

- Layer dependencies - (optional) - -

-
    -
-
-
- -
- - You can only add layers Toaster knows about -
-
-
- - To import a layer you need to enter a layer name, a Git repository URL and a Git revision (branch, tag or commit) + - +
+ Where is the layer source code? +
+ +

To build the layer Toaster must be able to access the Git repository, otherwise builds will fail. Toaster will fetch and checkout your chosen Git revision every time you start a build.

+
+
+ +

Use this option for quick layer development, by simply providing the path to the layer source code.

+
+
+
+ Git repository information +
+ + +
+
+ + +
+
+ + + +
+
+ + + +
+ + Layer dependencies + (optional) + + +
    +
+
+
+ +
+ + You can only add layers Toaster knows about +
+
+ + To import a layer you need to enter a layer name, a Git repository URL and a Git revision (branch, tag or commit) + +
+
+ {% else %} {#project and project release#}