diff options
author | Yongxin Liu <yongxin.liu@windriver.com> | 2018-07-30 17:16:32 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-01 23:00:19 +0100 |
commit | d6f922ddc14e0b17af5f1de46ec905de2a21a751 (patch) | |
tree | 53f40204e4106ec08262d8749fc78232d40e9a4c /meta/recipes-kernel | |
parent | dc6d466edde2ebe26e2ece5601429baabff38bbb (diff) | |
download | openembedded-core-contrib-d6f922ddc14e0b17af5f1de46ec905de2a21a751.tar.gz |
kdump: start kdump.service after basic.target
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>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools/kdump.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools/kdump.service b/meta/recipes-kernel/kexec/kexec-tools/kdump.service index 4e65a46ac4..013c5a62b3 100644 --- a/meta/recipes-kernel/kexec/kexec-tools/kdump.service +++ b/meta/recipes-kernel/kexec/kexec-tools/kdump.service @@ -1,6 +1,7 @@ [Unit] Description=Reboot and dump vmcore via kexec DefaultDependencies=no +After=basic.target [Service] Type=oneshot |