[OE-core] [PATCH] kdump: start kdump.service after basic.target
Yongxin Liu
yongxin.liu at windriver.com
Mon Jul 30 09:16:32 UTC 2018
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 at windriver.com>
---
meta/recipes-kernel/kexec/kexec-tools/kdump.service | 1 +
1 file changed, 1 insertion(+)
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
--
2.14.4
More information about the Openembedded-core
mailing list