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.

(From OE-Core rev: 6f709f0c5a4ce57e522a65774fd567013b95d82e)

Signed-off-by: Andrew Bresticker <abrestic@waymo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andrew Bresticker
2018-09-12 10:44:15 -07:00
committed by Richard Purdie
parent abd7f41f61
commit 0b22cc4407

View 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