summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service
Commit message (Collapse)AuthorAgeFilesLines
* Enable BMC patching from the /usr/local pathMichael Tritz2017-08-241-1/+2
| | | | | | | | | | | | | | | | | This commit enables patches from the /usr/local path by replacing absolute paths to /usr/sbin or /usr/bin in every service file with "/usr/bin/env ". Additionally, SyslogIdentifier is added to each file to ensure that journal entries are still distinct. In two cases, service files also had to change due to references to ${{PATH}}, which doesn't work with /usr/bin/env. These references - and the corresponding definitions - were changed to ${{DEVPATH}}. Resolves openbmc/openbmc#2149 Change-Id: I12c5c6e5101eef6820b985a563313836250ff2c7 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* Ensure soft poweroff service stopped on host startAndrew Geissler2017-06-031-0/+1
| | | | | | | | | | | There are some error scenarios where the soft poweroff application/service can get stuck waiting for the OS to shut down(45 min). If the user forces a power off and then powers back on, we just need to be sure to stop this service. Change-Id: I7518d5059cfab122f5ded86e9b66d01d2029508a Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Only run soft power off when not host requestedAndrew Geissler2017-06-031-0/+1
| | | | | | | | | | | When a power off or reboot is host initiated, do not run the soft power off service. Since the host is the one requesting the action, there's no need to execute the soft off function (notification to host to shutdown). Change-Id: Ia6e833598e6042646e5d5bd17821ed29e141fa6f Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Ensure host-shutdown target calls the host-stop targetAndrew Geissler2017-06-031-0/+2
| | | | | | | | | As a part of the soft power off (host-shutdown) ensure that the host-stop target always gets called. Updated the involved services to ensure they are run in the correct order. Change-Id: I7e9113631786f0d0cb0f89b94c4b97fdc0328e7b Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* IPMI: Provide recipe file for soft power off serviceVishwanatha Subbanna2017-04-041-0/+9
Change-Id: I9d17bb3b90dee86e2290b8552bb519b0164c477c Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud