]> code.ossystems Code Review - openembedded-core.git/commitdiff
kexec-tools: Depend on sysinit.target rather than basic.target
authorAndrew Bresticker <abrestic@waymo.com>
Wed, 12 Sep 2018 17:44:15 +0000 (10:44 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Sep 2018 15:28:26 +0000 (16:28 +0100)
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@waymo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/kexec/kexec-tools/kdump.service

index 013c5a62b33acd16c57e2c55b12e74eac9d5fd86..b4a2c0611d30173c593ae277c0b63fda793022c3 100644 (file)
@@ -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