summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
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 16:28:26 +0100
commit6f709f0c5a4ce57e522a65774fd567013b95d82e (patch)
tree2ae7cd82c33bc61bba40947a9b902a381151ef50 /meta/recipes-kernel
parent0e9cafe732b7f4e47f4e9b32ffbc2ebf9715d18d (diff)
downloadopenembedded-core-6f709f0c5a4ce57e522a65774fd567013b95d82e.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. Signed-off-by: Andrew Bresticker <abrestic@waymo.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-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 @@
[Unit]
Description=Reboot and dump vmcore via kexec
DefaultDependencies=no
-After=basic.target
+Requires=sysinit.target
+After=sysinit.target
[Service]
Type=oneshot