summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kexec/kexec-tools
diff options
context:
space:
mode:
authorWenlin Kang <wenlin.kang@windriver.com>2017-10-17 10:21:29 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-05 22:33:22 +0000
commitd0b63d03962138c30abb3d29d8e21c90a12199b8 (patch)
treececd8ef0bfe0157fe5333b1367f76629f09e62fb /meta/recipes-kernel/kexec/kexec-tools
parentb725cdce8aefb3c94f7a951fa47b5dd80389af71 (diff)
downloadpoky-d0b63d03962138c30abb3d29d8e21c90a12199b8.tar.gz
kexec-tools: add systemd support for kdump
Add file kdump.service to support kdump in systemd. (From OE-Core rev: a502e406c4e47b72eeb052ec2accba55fb6af972) Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/kexec/kexec-tools')
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools/kdump.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools/kdump.service b/meta/recipes-kernel/kexec/kexec-tools/kdump.service
new file mode 100644
index 0000000000..4e65a46ac4
--- /dev/null
+++ b/meta/recipes-kernel/kexec/kexec-tools/kdump.service
@@ -0,0 +1,12 @@
1[Unit]
2Description=Reboot and dump vmcore via kexec
3DefaultDependencies=no
4
5[Service]
6Type=oneshot
7RemainAfterExit=yes
8ExecStart=@LIBEXECDIR@/kdump-helper start
9ExecStop=@LIBEXECDIR@/kdump-helper stop
10
11[Install]
12WantedBy=multi-user.target