]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster: add local_source_dir to the needed_fields
authorSujith H <sujith.h@gmail.com>
Wed, 27 Jul 2016 06:16:29 +0000 (06:16 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Aug 2016 23:08:18 +0000 (00:08 +0100)
This change will help us know if local_source_dir
is null or if there is value associated with this
field. This change will help us display the details
for duplicate layers tryied to import locally.

[YOCOT #9911]

Signed-off-by: Sujith H <sujith.h@gmail.com>
lib/toaster/toastergui/typeaheads.py

index dd4b7f5057167a74e23de038f0d0646208196f9a..4ded9ac2e6172cf37b9135a921b6c27f381f9dc5 100644 (file)
@@ -55,6 +55,7 @@ class LayersTypeAhead(ToasterTypeAhead):
                 'vcs_url' : layer_version.layer.vcs_url,
                 'vcs_reference' : vcs_reference,
                 'detail' : detail,
+                'local_source_dir' : layer_version.layer.local_source_dir,
             }
 
             results.append(needed_fields)