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:42:03 +0100 |
commit | ac9a54fc617ff5f1eb75fa8500187c5ed3effe46 (patch) | |
tree | 87b47227ff1eef78c86f92ef30a96f4cba9fefb4 | |
parent | a5b1dcabdd84915eb0527be4e7bd64ab46860d9d (diff) | |
download | openembedded-core-ac9a54fc617ff5f1eb75fa8500187c5ed3effe46.tar.gz openembedded-core-ac9a54fc617ff5f1eb75fa8500187c5ed3effe46.tar.bz2 openembedded-core-ac9a54fc617ff5f1eb75fa8500187c5ed3effe46.zip |
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.
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-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 @@ [Unit] Description=Reboot and dump vmcore via kexec DefaultDependencies=no +After=basic.target [Service] Type=oneshot |