meta-inventec: Remove references to INVENTECBASE

INVENTECBASE is only used for pointing at licenses...point at the
licenses in oe-core in meta/files/common-licenses instead. to match the
defacto convention used in other oe layers like meta-openembedded.

Change-Id: I22d2534b3cf2f4e257a485709de12197d7e0dbb5
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/conf/layer.conf b/conf/layer.conf
index 3c284f8..de22db1 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -3,6 +3,3 @@
 
 BBFILE_COLLECTIONS += "inventec"
 BBFILE_PATTERN_inventec = ""
-
-# Provide a variable that points the base of the inventec layer.
-INVENTECBASE = '${@os.path.normpath("${LAYERDIR}/")}'
diff --git a/meta-lanyang/recipes-phosphor/chassis/avsbus-control.bb b/meta-lanyang/recipes-phosphor/chassis/avsbus-control.bb
index 767da63..956a623 100644
--- a/meta-lanyang/recipes-phosphor/chassis/avsbus-control.bb
+++ b/meta-lanyang/recipes-phosphor/chassis/avsbus-control.bb
@@ -2,7 +2,7 @@
 DESCRIPTION = "Voltage regulator module (VRM) AVSBus control for Lanyang"
 PR = "r0"
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://${INVENTECBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
 
 inherit obmc-phosphor-systemd
 
diff --git a/meta-lanyang/recipes-phosphor/ipmi/lanyang-ipmi-inventory-map-native.bb b/meta-lanyang/recipes-phosphor/ipmi/lanyang-ipmi-inventory-map-native.bb
index b74f8f6..56e5dd2 100644
--- a/meta-lanyang/recipes-phosphor/ipmi/lanyang-ipmi-inventory-map-native.bb
+++ b/meta-lanyang/recipes-phosphor/ipmi/lanyang-ipmi-inventory-map-native.bb
@@ -1,7 +1,7 @@
 SUMMARY = "Lanyang IPMI to DBus Inventory mapping."
 PR = "r1"
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://${INVENTECBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
 
 inherit native
 inherit phosphor-ipmi-fru
diff --git a/meta-lanyang/recipes-phosphor/leds/lanyang-led-manager-config-native.bb b/meta-lanyang/recipes-phosphor/leds/lanyang-led-manager-config-native.bb
index b4e0560..81c6731 100644
--- a/meta-lanyang/recipes-phosphor/leds/lanyang-led-manager-config-native.bb
+++ b/meta-lanyang/recipes-phosphor/leds/lanyang-led-manager-config-native.bb
@@ -1,7 +1,7 @@
 SUMMARY = "Phosphor LED Group Management for Lanyang"
 PR = "r1"
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://${INVENTECBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
 
 inherit native