obmc-phosphor-image: move license
Move the LICENSE directive to the image recipe so other recipes could
have their own license, and because this is how oe-core is organized.
(From meta-phosphor rev: 92cadf349fb2948e64e44fba73b5eba1944886e2)
Change-Id: I6cc0499b9874ac38852cde05cb44fd32f8871204
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/classes/obmc-phosphor-image.bbclass b/meta-phosphor/classes/obmc-phosphor-image.bbclass
index 797aab0..8306394 100644
--- a/meta-phosphor/classes/obmc-phosphor-image.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-image.bbclass
@@ -24,8 +24,6 @@
inherit core-image
-LICENSE = "Apache-2.0"
-
FEATURE_PACKAGES_obmc-bmc-state-mgmt ?= "packagegroup-obmc-apps-bmc-state-mgmt"
FEATURE_PACKAGES_obmc-chassis-mgmt ?= "${@bb.utils.contains('COMBINED_FEATURES', 'obmc-phosphor-chassis-mgmt', 'virtual-obmc-chassis-mgmt', '', d)}"
FEATURE_PACKAGES_obmc-chassis-state-mgmt ?= "packagegroup-obmc-apps-chassis-state-mgmt"
diff --git a/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb b/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb
index 9c0f87b..a0c14ff 100644
--- a/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb
+++ b/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb
@@ -31,6 +31,8 @@
obmc-settings-mgmt \
"
+LICENSE = "Apache-2.0"
+
inherit obmc-phosphor-image
# The /etc/version file is misleading and not useful. Remove it.