Thread (9 messages) 9 messages, 3 authors, 2012-09-28

Re: [PATCH 1/3] license.bbclass: Variable standardization

From: Saul Wold <hidden>
Date: 2012-09-27 17:08:51

On 09/26/2012 02:50 PM, Elizabeth Flanagan wrote:
quoted hunk ↗ jump to hunk
The variable mentioned in license.conf is LICENSE_PATH. The variable
used in license.bbclass is LICENSE_DIR. Conforming to what is in
license.conf

Signed-off-by: Elizabeth Flanagan <redacted>
---
  meta/classes/license.bbclass |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index ffcaf93..ad543f6 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -186,7 +186,7 @@ python do_populate_lic() {
      license_source_dirs = []
      license_source_dirs.append(generic_directory)
      try:
-        additional_lic_dirs = d.getVar('LICENSE_DIR', True).split()
+        additional_lic_dirs = d.getVar('LICENSE_PATH', True).split()
Beth, I found that we also have LICENSE_DIRECTORY, so the intent here is 
to be a multiple directory (such as a search PATH) for licenses?

There is also some documentation that needs to be changed, should not 
prevent this patch from being pulled.



Sau!
          for lic_dir in additional_lic_dirs:
              license_source_dirs.append(lic_dir)
      except:
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help