summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kexec/kexec-tools_2.0.14.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/kexec/kexec-tools_2.0.14.bb')
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools_2.0.14.bb44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.14.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.14.bb
new file mode 100644
index 0000000000..899b391ecf
--- /dev/null
+++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.14.bb
@@ -0,0 +1,44 @@
1require kexec-tools.inc
2export LDFLAGS = "-L${STAGING_LIBDIR}"
3EXTRA_OECONF = " --with-zlib=yes"
4
5SRC_URI += "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz \
6 file://0002-powerpc-change-the-memory-size-limit.patch \
7 file://0001-purgatory-Pass-r-directly-to-linker.patch \
8 file://0001-vmcore-dmesg-Define-_GNU_SOURCE.patch \
9 file://0001-kexec-exntend-the-semantics-of-kexec_iomem_for_each_.patch \
10 file://0002-kexec-generalize-and-rename-get_kernel_stext_sym.patch \
11 file://0003-arm64-identify-PHYS_OFFSET-correctly.patch \
12 file://0004-arm64-kdump-identify-memory-regions.patch \
13 file://0005-arm64-kdump-add-elf-core-header-segment.patch \
14 file://0006-arm64-kdump-set-up-kernel-image-segment.patch \
15 file://0007-arm64-kdump-set-up-other-segments.patch \
16 file://0008-arm64-kdump-add-DT-properties-to-crash-dump-kernel-s.patch \
17 file://0009-arm64-kdump-Add-support-for-binary-image-files.patch \
18 "
19
20SRC_URI[md5sum] = "b2b2c5e6b29d467d6e99d587fb6b7cf5"
21SRC_URI[sha256sum] = "b3e69519d2acced256843b1e8f1ecfa00d9b54fa07449ed78f05b9193f239370"
22
23PACKAGES =+ "kexec kdump vmcore-dmesg"
24
25ALLOW_EMPTY_${PN} = "1"
26RRECOMMENDS_${PN} = "kexec kdump vmcore-dmesg"
27
28FILES_kexec = "${sbindir}/kexec"
29FILES_kdump = "${sbindir}/kdump ${sysconfdir}/init.d/kdump \
30 ${sysconfdir}/sysconfig/kdump.conf"
31FILES_vmcore-dmesg = "${sbindir}/vmcore-dmesg"
32
33inherit update-rc.d
34
35INITSCRIPT_PACKAGES = "kdump"
36INITSCRIPT_NAME_kdump = "kdump"
37INITSCRIPT_PARAMS_kdump = "start 56 2 3 4 5 . stop 56 0 1 6 ."
38
39do_install_append () {
40 install -d ${D}${sysconfdir}/init.d
41 install -m 0755 ${WORKDIR}/kdump ${D}${sysconfdir}/init.d/kdump
42 install -d ${D}${sysconfdir}/sysconfig
43 install -m 0644 ${WORKDIR}/kdump.conf ${D}${sysconfdir}/sysconfig
44}