[oe-commits] [openembedded-core] 07/09: kexec-tools: Depend on sysinit.target rather than basic.target

git at git.openembedded.org git at git.openembedded.org
Thu Sep 13 13:17:54 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 b8aa91b79a29d5e0064a5d83ce2cdf29bdd41786
Author: Andrew Bresticker <abrestic at waymo.com>
AuthorDate: Wed Sep 12 10:44:15 2018 -0700

    kexec-tools: Depend on sysinit.target rather than basic.target
    
    kdump.service only needs filesystems to be up, for which sysinit.target
    is sufficeint. basic.target pulls in networking and other services which
    are unnecessary for kdump. This is also useful for when kdump.service is
    used as the boot target (e.g. for the kdump kernel) and only a minimal
    system needs to be brought up.
    
    Signed-off-by: Andrew Bresticker <abrestic at waymo.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-kernel/kexec/kexec-tools/kdump.service | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/kexec/kexec-tools/kdump.service b/meta/recipes-kernel/kexec/kexec-tools/kdump.service
index 013c5a6..b4a2c06 100644
--- a/meta/recipes-kernel/kexec/kexec-tools/kdump.service
+++ b/meta/recipes-kernel/kexec/kexec-tools/kdump.service
@@ -1,7 +1,8 @@
 [Unit]
 Description=Reboot and dump vmcore via kexec
 DefaultDependencies=no
-After=basic.target
+Requires=sysinit.target
+After=sysinit.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