diff options
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/fans')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan.bb | 11 | ||||
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/org.openbmc.control.Fans.service | 2 |
2 files changed, 5 insertions, 8 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan.bb b/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan.bb index 256f9fc20..501f54abc 100644 --- a/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan.bb +++ b/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan.bb @@ -2,14 +2,11 @@ SUMMARY = "OpenBMC fan control" DESCRIPTION = "OpenBMC fan control." PR = "r1" -inherit skeleton-python +inherit skeleton-sdbus inherit obmc-phosphor-dbus-service -RDEPENDS_${PN} += "\ - python-dbus \ - python-pygobject \ - pyphosphor-dbus \ - " -SKELETON_DIR = "pyfanctl" +RDEPENDS_${PN} += "libsystemd" +SKELETON_DIR = "fanctl" + DBUS_SERVICE_${PN} += "org.openbmc.control.Fans.service" SYSTEMD_SERVICE_${PN} += "obmc-max-fans.service" diff --git a/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/org.openbmc.control.Fans.service b/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/org.openbmc.control.Fans.service index 9fead8fbe..0c10b09d1 100644 --- a/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/org.openbmc.control.Fans.service +++ b/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/org.openbmc.control.Fans.service @@ -7,7 +7,7 @@ Before=obmc-fan-control.target [Service] Restart=always -ExecStart={sbindir}/fan_control.py +ExecStart={sbindir}/fan_control.exe -f 6 Type=dbus BusName={BUSNAME} Environment="PYTHONUNBUFFERED=1" |