[OE-core] [PATCH 1/3] license.bbclass: Variable standardization

Saul Wold sgw at linux.intel.com
Thu Sep 27 16:55:56 UTC 2012


On 09/26/2012 02:50 PM, Elizabeth Flanagan wrote:
> 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 <elizabeth.flanagan at intel.com>
> ---
>   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:
>




More information about the Openembedded-core mailing list