浏览代码

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>
Andrew Bresticker 6 年之前
父节点
当前提交
0b22cc4407
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      meta/recipes-kernel/kexec/kexec-tools/kdump.service

+ 2 - 1
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