diff options
author | Wenlin Kang <wenlin.kang@windriver.com> | 2017-10-17 10:21:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-05 22:33:22 +0000 |
commit | d0b63d03962138c30abb3d29d8e21c90a12199b8 (patch) | |
tree | cecd8ef0bfe0157fe5333b1367f76629f09e62fb /meta/recipes-kernel/kexec/kexec-tools | |
parent | b725cdce8aefb3c94f7a951fa47b5dd80389af71 (diff) | |
download | poky-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.service | 12 |
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] | ||
2 | Description=Reboot and dump vmcore via kexec | ||
3 | DefaultDependencies=no | ||
4 | |||
5 | [Service] | ||
6 | Type=oneshot | ||
7 | RemainAfterExit=yes | ||
8 | ExecStart=@LIBEXECDIR@/kdump-helper start | ||
9 | ExecStop=@LIBEXECDIR@/kdump-helper stop | ||
10 | |||
11 | [Install] | ||
12 | WantedBy=multi-user.target | ||