diff options
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.bb | 44 |
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 @@ | |||
1 | require kexec-tools.inc | ||
2 | export LDFLAGS = "-L${STAGING_LIBDIR}" | ||
3 | EXTRA_OECONF = " --with-zlib=yes" | ||
4 | |||
5 | SRC_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 | |||
20 | SRC_URI[md5sum] = "b2b2c5e6b29d467d6e99d587fb6b7cf5" | ||
21 | SRC_URI[sha256sum] = "b3e69519d2acced256843b1e8f1ecfa00d9b54fa07449ed78f05b9193f239370" | ||
22 | |||
23 | PACKAGES =+ "kexec kdump vmcore-dmesg" | ||
24 | |||
25 | ALLOW_EMPTY_${PN} = "1" | ||
26 | RRECOMMENDS_${PN} = "kexec kdump vmcore-dmesg" | ||
27 | |||
28 | FILES_kexec = "${sbindir}/kexec" | ||
29 | FILES_kdump = "${sbindir}/kdump ${sysconfdir}/init.d/kdump \ | ||
30 | ${sysconfdir}/sysconfig/kdump.conf" | ||
31 | FILES_vmcore-dmesg = "${sbindir}/vmcore-dmesg" | ||
32 | |||
33 | inherit update-rc.d | ||
34 | |||
35 | INITSCRIPT_PACKAGES = "kdump" | ||
36 | INITSCRIPT_NAME_kdump = "kdump" | ||
37 | INITSCRIPT_PARAMS_kdump = "start 56 2 3 4 5 . stop 56 0 1 6 ." | ||
38 | |||
39 | do_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 | } | ||