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.
Change-Id: I79b472d07efa88ee5bf602f00a3852789bf07e0a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/classes/obmc-phosphor-image.bbclass b/classes/obmc-phosphor-image.bbclass
index 797aab0..8306394 100644
--- a/classes/obmc-phosphor-image.bbclass
+++ b/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/recipes-phosphor/images/obmc-phosphor-image.bb b/recipes-phosphor/images/obmc-phosphor-image.bb
index 9c0f87b..a0c14ff 100644
--- a/recipes-phosphor/images/obmc-phosphor-image.bb
+++ b/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.