summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2016-01-20 16:39:30 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-24 09:40:20 +0000
commit65c1de9763fbbd8e8533f7affb04b78154586d0d (patch)
tree1831bc6053ea52765380a7d72fe70d6ddfde929d /meta/recipes-kernel
parentba837f10555998a8677eb99bfc6698e0cc1f7942 (diff)
downloadpoky-65c1de9763fbbd8e8533f7affb04b78154586d0d.tar.gz
kexec-tools: inherit update-rc.d
init script kdump is added, so inherit update-rc.d (From OE-Core rev: 4b4bb1e905cc20462f4fbc1105ac3fac7af93b15) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools_2.0.11.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.11.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.11.bb
index 717376703f..866441b531 100644
--- a/meta/recipes-kernel/kexec/kexec-tools_2.0.11.bb
+++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.11.bb
@@ -22,6 +22,12 @@ FILES_kexec = "${sbindir}/kexec"
22FILES_kdump = "${sbindir}/kdump" 22FILES_kdump = "${sbindir}/kdump"
23FILES_vmcore-dmesg = "${sbindir}/vmcore-dmesg" 23FILES_vmcore-dmesg = "${sbindir}/vmcore-dmesg"
24 24
25inherit update-rc.d
26
27INITSCRIPT_PACKAGES = "kdump"
28INITSCRIPT_NAME_kdump = "kdump"
29INITSCRIPT_PARAMS_kdump = "start 56 2 3 4 5 . stop 56 0 1 6 ."
30
25do_install_append () { 31do_install_append () {
26 install -d ${D}${sysconfdir}/init.d 32 install -d ${D}${sysconfdir}/init.d
27 install -m 0755 ${WORKDIR}/kdump ${D}${sysconfdir}/init.d/kdump 33 install -m 0755 ${WORKDIR}/kdump ${D}${sysconfdir}/init.d/kdump