summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYongxin Liu <yongxin.liu@windriver.com>2018-07-30 17:16:32 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-31 22:42:03 +0100
commitac9a54fc617ff5f1eb75fa8500187c5ed3effe46 (patch)
tree87b47227ff1eef78c86f92ef30a96f4cba9fefb4
parenta5b1dcabdd84915eb0527be4e7bd64ab46860d9d (diff)
downloadopenembedded-core-contrib-ac9a54fc617ff5f1eb75fa8500187c5ed3effe46.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. 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.service1
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