summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYongxin Liu <yongxin.liu@windriver.com>2018-07-30 17:16:32 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-01 23:00:28 +0100
commit78e1856f58867c8a6ba2f40eb87c222cb81a1d07 (patch)
tree09cb531595bb98108833991594ce5a2ad3d9606f
parentb0d7de41e3c78d1c927d78e7640922d88cccc9f8 (diff)
downloadpoky-78e1856f58867c8a6ba2f40eb87c222cb81a1d07.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) (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>
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools/kdump.service1
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 @@
1[Unit] 1[Unit]
2Description=Reboot and dump vmcore via kexec 2Description=Reboot and dump vmcore via kexec
3DefaultDependencies=no 3DefaultDependencies=no
4After=basic.target
4 5
5[Service] 6[Service]
6Type=oneshot 7Type=oneshot