summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2016-07-20 05:39:30 -0500
committerPatrick Williams <patrick@stwcx.xyz>2016-07-27 18:22:27 +0000
commit12d5fc379b7f3b670479279bb96bd9fa1b3c2204 (patch)
tree2d643d2a717e5af84ca2b4a31e2ad3654e3f1e47 /meta-phosphor/common
parenta244dcdcd45c0b55023095fb6cc3e5dcc0e090b6 (diff)
downloadtalos-openbmc-12d5fc379b7f3b670479279bb96bd9fa1b3c2204.tar.gz
talos-openbmc-12d5fc379b7f3b670479279bb96bd9fa1b3c2204.zip
Disable launching host-ipmi-hw via systemd
On the QEMU, host-ipmi-hw.py was emulating btbridge. host-ipmi-hw looks for user inputs from STDIN and when the user inputs the series of hex bytes for a particular ipmi netfn/cmd tuple and hits the enter key, it results in host-ipmi-hw broadcasting the signal that IPMI daemon would catch and process. because of how it works, we do not want to launch it via systemd and hence can be started manually while testing the IPMI functionality. host-ipmi-hw was initially written when btbridge was still being developed as we needed a vehicle to test the IPMI daemon in the absence of btbridge. Going forward, we can use 'ipmitool -I dbus' instead of this python script and if at all we see a need to use this python script, we can launch this on a need bassis and kill it than consuming the CPU and memory. Fixes openbmc/openbmc#409 Change-Id: Ia620dae07f8b496edcfe7637c08f06e2207e329d Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'meta-phosphor/common')
-rw-r--r--meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example.bb2
-rw-r--r--meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example/host-ipmi-hw.service9
2 files changed, 0 insertions, 11 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example.bb
index 3c4766e68..2b27dc16f 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example.bb
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example.bb
@@ -4,8 +4,6 @@ PR = "r1"
RDEPENDS_${PN} += "python-subprocess python-dbus python-pygobject"
-SYSTEMD_SERVICE_${PN} = "host-ipmi-hw.service"
-
inherit obmc-phosphor-host-ipmi-hw
inherit skeleton-python
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example/host-ipmi-hw.service b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example/host-ipmi-hw.service
deleted file mode 100644
index e15d8d71b..000000000
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example/host-ipmi-hw.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=Phosphor OpenBMC host IPMI to DBUS example implementation
-
-[Service]
-Restart=always
-ExecStart=/usr/sbin/host-ipmi-hw
-
-[Install]
-WantedBy=multi-user.target
OpenPOWER on IntegriCloud