]> code.ossystems Code Review - meta-freescale.git/commitdiff
Remove $COREBASE/LICENSE from LIC_FILES_CHKSUM
authorChunrong Guo <chunrong.guo@nxp.com>
Mon, 4 Sep 2017 05:32:45 +0000 (13:32 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 21 Sep 2017 21:03:41 +0000 (18:03 -0300)
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.

(From OE-Core rev: 0059e0661826c857a07c862bcb46162671e0e330)

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/change-file-endianess/change-file-endianess.bb
recipes-extended/merge-files/merge-files_1.0.bb

index fc98b01568c9f9590d790e10939b0e4ff44b1eed..570ee3f695f519352142fad4de10359d728b759e 100644 (file)
@@ -1,7 +1,6 @@
 DESCRIPTION = "provides the tcl script for endian swap"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
-                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
 SRC_URI = "file://byte_swap.tcl"
 
index 43860dd8c8e2107dccdf25074bff3304a9ff27fc..6d364c6d6d37ed49af95a48c271a63e6c6ddeff6 100644 (file)
@@ -1,7 +1,6 @@
 DESCRIPTION = "Merge prebuilt/extra files into rootfs"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
-                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
 inherit allarch