[OE-core] [PATCH 0/1] $COREBASE/LICENSE in LIC_FILES_CHKSUM

Paul Eggleton paul.eggleton at linux.intel.com
Thu Oct 20 23:29:55 UTC 2016


Hi Olaf,

On Wed, 19 Oct 2016 10:05:12 Olaf Mandel wrote:
> I ran into QA issues when inadvertently replacing OEs LICENSE with
> Yoctos LICENSE file. Why should recipes depend on the license for
> the complete collection of layers? At least for "normal" recipes
> that generate target device packages, this makes no sense to me.
> 
> I patched out the global LICENSE file from all those recipes that
> are short enough and where I feel reasonably confident of not
> having actually changed the claimed license terms in any way.

Agreed, doing this cleanup makes sense to me. We should especially discourage
others from referring to this file in their own recipes, and we start by
showing a good example.

> There are additional recipes that reference the global LICENSE
> file, but where I am not sure if a less blanket license declaration
> is appropriate or not. Especially for meta-toolchain and
> build-appliance-image, the global LICENSE is probably correct.
> Any comments?

For images and other recipes that don't pull in anything by themselves, there
shouldn't be a need for LIC_FILES_CHKSUM (or indeed LICENSE) to be set at all
- in order to understand the license for the result the appropriate place to
look is the license manifest that represents everything that goes into the
image. In fact, in master / morty, if SRC_URI is empty then LIC_FILES_CHKSUM
is no longer verified [1]. Thus, for such recipes we can remove the setting of
LIC_FILES_CHKSUM (and LICENSE, if possible) altogether.

Cheers,
Paul

[1] http://cgit.openembedded.org/openembedded-core/commit/?id=c269547ae8e90a78349f6003385137e4145e145f

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list