[oe-commits] [openembedded-core] 07/08: kdump: start kdump.service after basic.target

git at git.openembedded.org git at git.openembedded.org
Tue Jul 31 10:16:45 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 75be23395fab5e30f3353c6aefddd5426addfc1c
Author: Yongxin Liu <yongxin.liu at windriver.com>
AuthorDate: Mon Jul 30 17:16:32 2018 +0800

    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 at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.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 4e65a46..013c5a6 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list