diff --git a/meta-rcs/meta-blackbird/recipes-phosphor/fans/phosphor-fan/label-fan-tachs-in-inventory.patch b/meta-rcs/meta-blackbird/recipes-phosphor/fans/phosphor-fan/label-fan-tachs-in-inventory.patch new file mode 100644 index 0000000000000000000000000000000000000000..38331024614d5761acacde78f9a709284b452e8f --- /dev/null +++ b/meta-rcs/meta-blackbird/recipes-phosphor/fans/phosphor-fan/label-fan-tachs-in-inventory.patch @@ -0,0 +1,13 @@ +diff --git a/monitor/tach_sensor.cpp b/monitor/tach_sensor.cpp +index 5494450..6832ffe 100644 +--- a/monitor/tach_sensor.cpp ++++ b/monitor/tach_sensor.cpp +@@ -81,7 +81,7 @@ TachSensor::TachSensor(Mode mode, + _bus(bus), + _fan(fan), + _name(FAN_SENSOR_PATH + id), +- _invName(path(fan.getName()) / id), ++ _invName(path(fan.getName()) / (id + "tach")), + _hasTarget(hasTarget), + _funcDelay(funcDelay), + _interface(interface), diff --git a/meta-rcs/meta-blackbird/recipes-phosphor/fans/phosphor-fan_%.bbappend b/meta-rcs/meta-blackbird/recipes-phosphor/fans/phosphor-fan_%.bbappend index 36751c29a3eda21471c245e74f71f998d3f49692..0035eee8da88588eeb4874fdfc246725001902e6 100644 --- a/meta-rcs/meta-blackbird/recipes-phosphor/fans/phosphor-fan_%.bbappend +++ b/meta-rcs/meta-blackbird/recipes-phosphor/fans/phosphor-fan_%.bbappend @@ -5,6 +5,8 @@ FAN_PACKAGES += " \ phosphor-cooling-type \ " +SRC_URI += "file://label-fan-tachs-in-inventory.patch" + PACKAGECONFIG += "cooling-type" RDEPENDS_phosphor-cooling-type += "libevdev"