diff options
| author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2017-07-26 14:11:03 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2017-08-01 15:51:05 +0300 |
| commit | a1f486e91b468b495d7fc17792b77c0abb9f5b0b (patch) | |
| tree | dd6d9049d5d6dd274de1ad4f2791eddbab45ce92 /meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc | |
| parent | b7716b257f8e6fcc7311556cdc865a0e9f90f307 (diff) | |
| download | openbmc-a1f486e91b468b495d7fc17792b77c0abb9f5b0b.tar.xz | |
Fix execution dependency with checkstop monitor
phosphor-gpio-monitor watching for checkstop instance is configured
to start at host-start target and to stop at host-stop target.
On detecting the checkstop condition, it is configured to invoke
obmc-host-crash target, which in turn would invoke host-quiesce
target.
Starting and stopping the gpio monitor was achieved by having 2
target files that had just 'Requires' relation with gpio-monitor.
This commit removes the target and uses '.wants' relationship and
puts a drop-in unit for establishing a `Conflicts` relation with
obmc-host-crash target, which is what is invoked by gpio-monitor
on detecting checkstop.
This will ensure that gpio-monitor is stopped before starting
crash target and not relying on power off to do the same.
Fixes openbmc/openbmc#2022
Change-Id: I4dee93859a533c4d1a5138f4c3dd048160301e03
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc')
0 files changed, 0 insertions, 0 deletions
