mirror of
https://git.yoctoproject.org/poky
synced 2026-07-27 19:37:10 +00:00
78e1856f58
If kdump.service is set to run on boot and dump-capture kernel isn't placed in /dev/root, kdump.service will fail to load the kernel, since other partitions are not mounted yet. Starting kdump.service after basic.target guarantees dump-capture kernel can be loaded in this situation. (From OE-Core rev: ac9a54fc617ff5f1eb75fa8500187c5ed3effe46) (From OE-Core rev: d6f922ddc14e0b17af5f1de46ec905de2a21a751) Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 lines
258 B
Desktop File
14 lines
258 B
Desktop File
[Unit]
|
|
Description=Reboot and dump vmcore via kexec
|
|
DefaultDependencies=no
|
|
After=basic.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=@LIBEXECDIR@/kdump-helper start
|
|
ExecStop=@LIBEXECDIR@/kdump-helper stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|