[OE-core] [PATCH 1/1] Remove $COREBASE/LICENSE from LIC_FILES_CHKSUM

Peter Kjellerstedt peter.kjellerstedt at axis.com
Thu Oct 20 10:44:31 UTC 2016


> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org
> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
> Olaf Mandel
> Sent: den 19 oktober 2016 12:05
> To: openembedded-core at lists.openembedded.org
> Cc: Olaf Mandel
> Subject: [OE-core] [PATCH 1/1] Remove $COREBASE/LICENSE from
> LIC_FILES_CHKSUM
> 
> Several recipes reference the LICENSE file in their LIC_FILES_CHKSUM
> variable as ${COREBASE}/LICENSE. This forces distribution providers to
> keep this file verbatim or to overload the affected recipes. The
> section
> "Moving to the Yocto Project 1.6 Release" in the Yocto manual suggests
> removing the LICENSE file where possible.
> 
> Remove LICENSE in cases where COPYING.MIT is also given and replace
> LICENSE with COPYING.MIT if the former was the only entry. All modified
> recipes specify LICENSE = "MIT" and none of the in-tree files specify a
> different license either.
> 
> As the packages do not change (the license files are not contained in
> them), do not increase PR.
> ---
>  meta-skeleton/recipes-skeleton/useradd/useradd-example.bb | 3 +--
>  meta/recipes-bsp/formfactor/formfactor_0.0.bb             | 3 +--
>  meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb    | 3 +--
>  meta/recipes-core/systemd/systemd-compat-units.bb         | 2 +-
>  meta/recipes-core/systemd/systemd-systemctl-native.bb     | 2 +-
>  meta/recipes-core/udev/udev-extraconf_1.1.bb              | 3 +--
>  meta/recipes-devtools/devel-config/distcc-config.bb       | 3 +--
>  meta/recipes-devtools/devel-config/nfs-export-root.bb     | 3 +--
>  meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb  | 3 +--
>  meta/recipes-graphics/wayland/weston-init.bb              | 2 +-
>  meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb    | 3 +--
>  11 files changed, 11 insertions(+), 19 deletions(-)

Even after this is applied, there are still nine recipes in OE-Core 
that reference ${COREBASE}/LICENSE. There is also an example in 
dev-manual-common-tasks.xml with a reference to ${COREBASE}/LICENSE. 
AFAICT, they all look just like the ones that this patch removes. 
Any reason they were not fixed as well?

There are also 17 recipes in OpenEmbedded with a reference to 
${COREBASE}/LICENSE. They too need to be fixed.

//Peter




More information about the Openembedded-core mailing list