summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kexec/kexec-tools
diff options
context:
space:
mode:
authorAndrew Bresticker <abrestic@waymo.com>2018-09-12 10:44:15 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-13 17:38:07 +0100
commit0b22cc4407e7de7d43577e925178500ef54a4bf0 (patch)
tree19dad44c1488fd4161fa552b185fc6f909a5592a /meta/recipes-kernel/kexec/kexec-tools
parentabd7f41f61c28a35baeafb3bb50e1ac76cc53e19 (diff)
downloadpoky-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>
Diffstat (limited to 'meta/recipes-kernel/kexec/kexec-tools')
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools/kdump.service3
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]
2Description=Reboot and dump vmcore via kexec 2Description=Reboot and dump vmcore via kexec
3DefaultDependencies=no 3DefaultDependencies=no
4After=basic.target 4Requires=sysinit.target
5After=sysinit.target
5 6
6[Service] 7[Service]
7Type=oneshot 8Type=oneshot