diff options
author | George Liu <liuxiwei@inspur.com> | 2021-03-09 08:59:35 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-07-22 13:49:22 +0300 |
commit | 99acb7602f454fd0175812ff62f5cbcc26d9a944 (patch) | |
tree | f6b9108a89c84c309671ae947fd4846484cc9443 /meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector | |
parent | f05b3422bc4311e41d3fb11d3b11b97faad606f7 (diff) | |
download | openbmc-99acb7602f454fd0175812ff62f5cbcc26d9a944.tar.xz |
dump: Add ramoops service
- Create a new package for the ramoops service and only load it once
when the debug-collector daemon starts
- Fix openbmc/phosphor-debug-collector#15
Tested:
- Built obmc-phosphor-image and saw the ramoops-monitor run
successfully.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ic616408b834a257a981f0e0ef24ad030ccffc616
Diffstat (limited to 'meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector')
-rw-r--r-- | meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector/ramoops-monitor.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector/ramoops-monitor.service b/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector/ramoops-monitor.service new file mode 100644 index 0000000000..efb95c39ea --- /dev/null +++ b/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector/ramoops-monitor.service @@ -0,0 +1,13 @@ +[Unit] +Description=Ramoops monitor. +ConditionPathExists=/var/lib/systemd/pstore +After=xyz.openbmc_project.Dump.Manager.service + +[Service] +Type=oneshot +ExecStart=/usr/bin/phosphor-ramoops-monitor +SyslogIdentifier=ramoops-monitor + +[Install] +WantedBy=multi-user.target + |