diff options
author | Andrew Bresticker <abrestic@waymo.com> | 2018-09-12 10:44:15 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-13 17:38:07 +0100 |
commit | 0b22cc4407e7de7d43577e925178500ef54a4bf0 (patch) | |
tree | 19dad44c1488fd4161fa552b185fc6f909a5592a | |
parent | abd7f41f61c28a35baeafb3bb50e1ac76cc53e19 (diff) | |
download | poky-0b22cc4407e7de7d43577e925178500ef54a4bf0.tar.gz |
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>
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools/kdump.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools/kdump.service b/meta/recipes-kernel/kexec/kexec-tools/kdump.service index 013c5a62b3..b4a2c0611d 100644 --- a/meta/recipes-kernel/kexec/kexec-tools/kdump.service +++ b/meta/recipes-kernel/kexec/kexec-tools/kdump.service | |||
@@ -1,7 +1,8 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=Reboot and dump vmcore via kexec | 2 | Description=Reboot and dump vmcore via kexec |
3 | DefaultDependencies=no | 3 | DefaultDependencies=no |
4 | After=basic.target | 4 | Requires=sysinit.target |
5 | After=sysinit.target | ||
5 | 6 | ||
6 | [Service] | 7 | [Service] |
7 | Type=oneshot | 8 | Type=oneshot |