On 09/15/2017 02:17 AM, jackie.hu...@windriver.com wrote:
From: Jackie Huang <jackie.hu...@windriver.com>

Use '${COMMON_LICENSE_DIR}/MIT' for MIT License to fix the warning:

| WARNING: packagegroup-core-security do_populate_lic:
   ${COREBASE}/LICENSE is not a valid license file, please use
   '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM.
   This will become an error in the future

Signed-off-by: Jackie Huang <jackie.hu...@windriver.com>

merged,
Thanks,
Armin
---
  meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm-i2c.bb | 2 +-
  meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm.bb     | 2 +-
  meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb    | 2 +-
  meta-tpm/recipes-core/packagegroup/packagegroup-security-vtpm.bb    | 2 +-
  recipes-security/packagegroup/packagegroup-core-security.bb         | 2 +-
  5 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm-i2c.bb 
b/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm-i2c.bb
index 2d93aca..3b9d271 100644
--- a/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm-i2c.bb
+++ b/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm-i2c.bb
@@ -1,6 +1,6 @@
  DESCRIPTION = "Security packagegroup for TPM i2c support"
  LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
                      
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit packagegroup
diff --git a/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm.bb 
b/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm.bb
index 2db8521..25126ef 100644
--- a/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm.bb
+++ b/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm.bb
@@ -1,6 +1,6 @@
  DESCRIPTION = "Security packagegroup for Poky"
  LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
                      
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit packagegroup
diff --git a/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb 
b/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb
index 57b0722..13b505f 100644
--- a/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb
+++ b/meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm2.bb
@@ -1,6 +1,6 @@
  DESCRIPTION = "Security packagegroup for Poky"
  LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
                      
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit packagegroup
diff --git a/meta-tpm/recipes-core/packagegroup/packagegroup-security-vtpm.bb 
b/meta-tpm/recipes-core/packagegroup/packagegroup-security-vtpm.bb
index f7eee7c..2e9394f 100644
--- a/meta-tpm/recipes-core/packagegroup/packagegroup-security-vtpm.bb
+++ b/meta-tpm/recipes-core/packagegroup/packagegroup-security-vtpm.bb
@@ -1,6 +1,6 @@
  DESCRIPTION = "Security packagegroup for Poky"
  LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
                      
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit packagegroup
diff --git a/recipes-security/packagegroup/packagegroup-core-security.bb 
b/recipes-security/packagegroup/packagegroup-core-security.bb
index cfd7918..6682d29 100644
--- a/recipes-security/packagegroup/packagegroup-core-security.bb
+++ b/recipes-security/packagegroup/packagegroup-core-security.bb
@@ -1,6 +1,6 @@
  DESCRIPTION = "Security packagegroup for Poky"
  LICENSE = "MIT"
-LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
                      
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit packagegroup

--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to