[oe] [meta-browser] [PATCH] meta: drop ${COREBASE}/LICENSE references

liu.ming50 at gmail.com liu.ming50 at gmail.com
Tue Sep 26 12:41:53 UTC 2017


From: Ming Liu <liu.ming50 at gmail.com>

The top level LICENSE file is not actually a license, it refers
other licenses that are used by Bitbake and Meta-data. Relying
on this file could cause problems for recipes when this file
changes, which it is about to.

Change-Id: Ie2ab9a79f3d9f451ed0424c7289de94de14707bf
Signed-off-by: Ming Liu <liu.ming50 at gmail.com>
---
 recipes-mozilla/firefox-addon/firefox-addon.inc | 2 +-
 recipes-mozilla/firefox-l10n/firefox-l10n.inc   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-mozilla/firefox-addon/firefox-addon.inc b/recipes-mozilla/firefox-addon/firefox-addon.inc
index 45f079e..fd18adb 100644
--- a/recipes-mozilla/firefox-addon/firefox-addon.inc
+++ b/recipes-mozilla/firefox-addon/firefox-addon.inc
@@ -8,7 +8,7 @@ DEPENDS = "mozilla-devscripts-native"
 LICENSE = "MPLv1 | GPLv2+ | LGPLv2.1+"
 
 # Ugly hack for now; we need to check license per recipe later
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
 S = "${WORKDIR}"
 
diff --git a/recipes-mozilla/firefox-l10n/firefox-l10n.inc b/recipes-mozilla/firefox-l10n/firefox-l10n.inc
index 7b252a2..ec38ce6 100644
--- a/recipes-mozilla/firefox-l10n/firefox-l10n.inc
+++ b/recipes-mozilla/firefox-l10n/firefox-l10n.inc
@@ -8,7 +8,7 @@ DEPENDS = "mozilla-devscripts-native"
 LICENSE = "MPLv1 | GPLv2+ | LGPLv2.1+"
 
 # Ugly hack for now; we need to check license per recipe later
-LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
 LANGUAGE = "${@get_language_name('${PN}')}"
 PR = "r3"
-- 
2.7.4




More information about the Openembedded-devel mailing list