All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove $COREBASE/LICENSE from LIC_FILES_CHKSUM
@ 2017-09-04  5:32 Chunrong Guo
  2017-09-11  8:51 ` C.r. Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Chunrong Guo @ 2017-09-04  5:32 UTC (permalink / raw)
  To: meta-freescale; +Cc: chunrong.guo

From: Chunrong Guo <chunrong.guo@nxp.com>

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>
---
 recipes-bsp/change-file-endianess/change-file-endianess.bb | 3 +--
 recipes-extended/merge-files/merge-files_1.0.bb            | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/recipes-bsp/change-file-endianess/change-file-endianess.bb b/recipes-bsp/change-file-endianess/change-file-endianess.bb
index fc98b01..570ee3f 100644
--- a/recipes-bsp/change-file-endianess/change-file-endianess.bb
+++ b/recipes-bsp/change-file-endianess/change-file-endianess.bb
@@ -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"
 
diff --git a/recipes-extended/merge-files/merge-files_1.0.bb b/recipes-extended/merge-files/merge-files_1.0.bb
index 43860dd..6d364c6 100644
--- a/recipes-extended/merge-files/merge-files_1.0.bb
+++ b/recipes-extended/merge-files/merge-files_1.0.bb
@@ -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
 
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Remove $COREBASE/LICENSE from LIC_FILES_CHKSUM
  2017-09-04  5:32 [PATCH] Remove $COREBASE/LICENSE from LIC_FILES_CHKSUM Chunrong Guo
@ 2017-09-11  8:51 ` C.r. Guo
  0 siblings, 0 replies; 2+ messages in thread
From: C.r. Guo @ 2017-09-11  8:51 UTC (permalink / raw)
  To: Chunrong Guo, meta-freescale

pings.

-----Original Message-----
From: Chunrong Guo [mailto:B40290@freescale.com] 
Sent: Monday, September 04, 2017 1:33 PM
To: meta-freescale@yoctoproject.org
Cc: Zhenhua Luo <zhenhua.luo@nxp.com>; C.r. Guo <chunrong.guo@nxp.com>
Subject: [PATCH] Remove $COREBASE/LICENSE from LIC_FILES_CHKSUM

From: Chunrong Guo <chunrong.guo@nxp.com>

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>
---
 recipes-bsp/change-file-endianess/change-file-endianess.bb | 3 +--
 recipes-extended/merge-files/merge-files_1.0.bb            | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/recipes-bsp/change-file-endianess/change-file-endianess.bb b/recipes-bsp/change-file-endianess/change-file-endianess.bb
index fc98b01..570ee3f 100644
--- a/recipes-bsp/change-file-endianess/change-file-endianess.bb
+++ b/recipes-bsp/change-file-endianess/change-file-endianess.bb
@@ -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"
 
diff --git a/recipes-extended/merge-files/merge-files_1.0.bb b/recipes-extended/merge-files/merge-files_1.0.bb
index 43860dd..6d364c6 100644
--- a/recipes-extended/merge-files/merge-files_1.0.bb
+++ b/recipes-extended/merge-files/merge-files_1.0.bb
@@ -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
 
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-11  8:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-04  5:32 [PATCH] Remove $COREBASE/LICENSE from LIC_FILES_CHKSUM Chunrong Guo
2017-09-11  8:51 ` C.r. Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.