diff options
author | Yongxin Liu <yongxin.liu@windriver.com> | 2018-07-30 17:16:32 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-31 22:47:36 +0100 |
commit | 5e880407ea034b43fdad6b7e74b2b3c976264606 (patch) | |
tree | 680de5f0d3ad098f94c2d026b26c3e1beb44ba22 /meta/recipes-kernel | |
parent | e8143566ccbfdc2adec3e38ce546486e2942a1a1 (diff) | |
download | poky-5e880407ea034b43fdad6b7e74b2b3c976264606.tar.gz |
kdump: start kdump.service after basic.target
If kdump.service is set to run on boot and dump-capture kernel isn't
placed in /dev/root, kdump.service will fail to load the kernel,
since other partitions are not mounted yet. Starting kdump.service
after basic.target guarantees dump-capture kernel can be loaded in
this situation.
(From OE-Core rev: ac9a54fc617ff5f1eb75fa8500187c5ed3effe46)
Signed-off-by: Yongxin Liu <yongxin.liu@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')
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools/kdump.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools/kdump.service b/meta/recipes-kernel/kexec/kexec-tools/kdump.service index 4e65a46ac4..013c5a62b3 100644 --- a/meta/recipes-kernel/kexec/kexec-tools/kdump.service +++ b/meta/recipes-kernel/kexec/kexec-tools/kdump.service | |||
@@ -1,6 +1,7 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=Reboot and dump vmcore via kexec | 2 | Description=Reboot and dump vmcore via kexec |
3 | DefaultDependencies=no | 3 | DefaultDependencies=no |
4 | After=basic.target | ||
4 | 5 | ||
5 | [Service] | 6 | [Service] |
6 | Type=oneshot | 7 | Type=oneshot |