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)
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>
[Unit]
Description=Reboot and dump vmcore via kexec
DefaultDependencies=no
+After=basic.target
[Service]
Type=oneshot