ipmi: Move ipmi sensor config recipe
The sensor config recipe is a native recipe. Native recipes
do not build packages and therefore cannot be a packagegroup.
Do not inherit packagegroup and remove references to variables
without meaning in native context like PACKAGES.
Rename the recipe to reflect its status as a native recipe.
Move the recipe to the ipmi namespace since it isn't a packagegroup.
Fix up the associated bbappend in the OpenPower layer.
This eliminates a number of "manifest-foo:populate_sysroot not
found" build warnings.
Change-Id: Id56896efaa7e11a2427047d896ee36e69139de31
Tested: Built a witherspoon image
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/common/recipes-phosphor/packagegroups/packagegroup-obmc-ipmi-sensors.bb b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-config-native.bb
similarity index 82%
rename from common/recipes-phosphor/packagegroups/packagegroup-obmc-ipmi-sensors.bb
rename to common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-config-native.bb
index 2fe7d1b..7fe9ae3 100644
--- a/common/recipes-phosphor/packagegroups/packagegroup-obmc-ipmi-sensors.bb
+++ b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-config-native.bb
@@ -2,11 +2,8 @@
PR = "r1"
inherit native
-inherit packagegroup
inherit obmc-phosphor-license
-PROVIDES = "${PACKAGES}"
-
OBMC_IPMI_SENSORS_PROVIDERS = "phosphor-ipmi-sensor-inventory-mrw-config-native"
DEPENDS_append = " ${OBMC_IPMI_SENSORS_PROVIDERS} "
diff --git a/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-native.bb b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-native.bb
index 67c6996..9c846a5 100644
--- a/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-native.bb
+++ b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-native.bb
@@ -10,7 +10,7 @@
DEPENDS += " \
mrw-native \
mrw-perl-tools-native \
- packagegroup-obmc-ipmi-sensors \
+ phosphor-ipmi-sensor-config-native \
phosphor-ipmi-sensor-inventory-mrw-config-native \
"