diff options
author | zhengrq <zhengrq.fnst@cn.fujitsu.com> | 2017-11-08 17:56:02 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-21 13:06:11 +0000 |
commit | aab72188198cda66226f7afacba02e3f3bfe235c (patch) | |
tree | 1a1b11e24275f80cffa389ce944bc444514245e3 /meta/recipes-kernel/kexec/kexec-tools_2.0.15.bb | |
parent | c3f3a04f71d0dfe3d92dd3fff99bee61b99e78ae (diff) | |
download | poky-aab72188198cda66226f7afacba02e3f3bfe235c.tar.gz |
kexec-tools: 2.0.14 -> 2.0.15
1) Upgrade kexec-tools from 2.0.14 to 2.0.15.
2) Remove patches that are included in 2.0.15.
kexec-tools/0001-arm64-Disable-PIC.patch
kexec-tools/0001-kexec-exntend-the-semantics-of-kexec_iomem_for_each_.patch
kexec-tools/0001-vmcore-dmesg-Define-_GNU_SOURCE.patch
kexec-tools/0001-x86-x86_64-Fix-format-warning-with-die.patch
kexec-tools/0002-kexec-generalize-and-rename-get_kernel_stext_sym.patch
kexec-tools/0002-ppc-Fix-format-warning-with-die.patch
kexec-tools/0003-arm64-identify-PHYS_OFFSET-correctly.patch
kexec-tools/0004-arm64-kdump-identify-memory-regions.patch
kexec-tools/0005-arm64-kdump-add-elf-core-header-segment.patch
kexec-tools/0006-arm64-kdump-set-up-kernel-image-segment.patch
kexec-tools/0007-arm64-kdump-set-up-other-segments.patch
kexec-tools/0008-arm64-kdump-add-DT-properties-to-crash-dump-kernel-s.patch
kexec-tools/0009-arm64-kdump-Add-support-for-binary-image-files.patch
(From OE-Core rev: d2f196351a8e30542d5fb1561cb7960b6673c5ab)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.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/kexec/kexec-tools_2.0.15.bb')
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools_2.0.15.bb | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.15.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.15.bb new file mode 100644 index 0000000000..6bd9025e6f --- /dev/null +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.15.bb | |||
@@ -0,0 +1,52 @@ | |||
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://0010-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch \ | ||
9 | file://kexec-x32.patch \ | ||
10 | file://0001-Disable-PIE-during-link.patch \ | ||
11 | " | ||
12 | |||
13 | SRC_URI[md5sum] = "78906fdc255656fa2b9996c8acb3ef62" | ||
14 | SRC_URI[sha256sum] = "42dbd0dab9964cd1ed89fa4571c8d13191eb7132b361ade5ac44517c91ecb97e" | ||
15 | |||
16 | SECURITY_PIE_CFLAGS_remove = "-fPIE -pie" | ||
17 | |||
18 | PACKAGES =+ "kexec kdump vmcore-dmesg" | ||
19 | |||
20 | ALLOW_EMPTY_${PN} = "1" | ||
21 | RRECOMMENDS_${PN} = "kexec kdump vmcore-dmesg" | ||
22 | |||
23 | FILES_kexec = "${sbindir}/kexec" | ||
24 | FILES_kdump = "${sbindir}/kdump \ | ||
25 | ${sysconfdir}/sysconfig/kdump.conf \ | ||
26 | ${sysconfdir}/init.d/kdump \ | ||
27 | ${libexecdir}/kdump-helper \ | ||
28 | ${systemd_unitdir}/system/kdump.service \ | ||
29 | " | ||
30 | |||
31 | FILES_vmcore-dmesg = "${sbindir}/vmcore-dmesg" | ||
32 | |||
33 | inherit update-rc.d systemd | ||
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}/sysconfig | ||
41 | install -m 0644 ${WORKDIR}/kdump.conf ${D}${sysconfdir}/sysconfig | ||
42 | |||
43 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | ||
44 | install -D -m 0755 ${WORKDIR}/kdump ${D}${sysconfdir}/init.d/kdump | ||
45 | fi | ||
46 | |||
47 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | ||
48 | install -D -m 0755 ${WORKDIR}/kdump ${D}${libexecdir}/kdump-helper | ||
49 | install -D -m 0644 ${WORKDIR}/kdump.service ${D}${systemd_unitdir}/system/kdump.service | ||
50 | sed -i -e 's,@LIBEXECDIR@,${libexecdir},g' ${D}${systemd_unitdir}/system/kdump.service | ||
51 | fi | ||
52 | } | ||