meta-ampere: mtjade: clean up phosphor-hwmon configs
Disable phosphor-hwmon from compilation and clean up sensor inventory
which added before for phosphor-hwmon.
Tested:
1. Check if no phosphor-hwmon compiled and run
2. Check all S0 and S1 ADC sensors are still available in Redfish.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Ic6ac13963e755e6ef0d93b3f6486546c61b1abe0
diff --git a/meta-ampere/meta-jade/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend b/meta-ampere/meta-jade/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
index 56db568..7b27a7e 100644
--- a/meta-ampere/meta-jade/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
+++ b/meta-ampere/meta-jade/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
@@ -3,13 +3,17 @@
phosphor-image-signing \
phosphor-virtual-sensor \
phosphor-misc-usb-ctrl \
- "
+ fault-monitor \
+ id-button \
+ psu-hotswap-reset \
+ "
RDEPENDS:${PN}-inventory:append:mtjade = " \
- fault-monitor \
- id-button \
- psu-hotswap-reset \
host-gpio-handling \
dbus-sensors \
entity-manager \
- "
+ "
+
+RDEPENDS:${PN}-extras:remove:mtjade = " phosphor-hwmon"
+VIRTUAL-RUNTIME_obmc-sensors-hwmon ?= "dbus-sensors"
+RDEPENDS:${PN}-extras:append:mtjade = " phosphor-virtual-sensor"