aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kexec/kexec-tools_2.0.11.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2015-12-17 16:33:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-27 11:26:57 +0000
commitd515df2d73defb73eb87b9df1b163a161c3e6e4e (patch)
tree10a9e027e9e4e3ade521c0771fd39826b22579b3 /meta/recipes-kernel/kexec/kexec-tools_2.0.11.bb
parentcbe878b646ca728e97204a0eff6f1d8ccb16b523 (diff)
downloadopenembedded-core-contrib-d515df2d73defb73eb87b9df1b163a161c3e6e4e.tar.gz
openembedded-core-contrib-d515df2d73defb73eb87b9df1b163a161c3e6e4e.tar.bz2
openembedded-core-contrib-d515df2d73defb73eb87b9df1b163a161c3e6e4e.zip
kexec-tools: update to 2.0.11
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/kexec/kexec-tools_2.0.11.bb')
-rw-r--r--meta/recipes-kernel/kexec/kexec-tools_2.0.11.bb30
1 files changed, 30 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
new file mode 100644
index 00000000000..717376703f3
--- /dev/null
+++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.11.bb
@@ -0,0 +1,30 @@
+require kexec-tools.inc
+export LDFLAGS = "-L${STAGING_LIBDIR}"
+EXTRA_OECONF = " --with-zlib=yes"
+
+SRC_URI += "file://kexec-tools-Refine-kdump-device_tree-sort.patch \
+ file://kexec-aarch64.patch \
+ file://kexec-x32.patch \
+ file://0002-powerpc-change-the-memory-size-limit.patch \
+ file://0001-purgatory-Pass-r-directly-to-linker.patch \
+ "
+
+SRC_URI[md5sum] = "86de066859f289048f1b286af6f03f78"
+SRC_URI[sha256sum] = "84f652ebf1de3f7b9de757a50cdbf6d5639d88c1d5b5ef9f525edde5ef9590c2"
+
+PACKAGES =+ "kexec kdump vmcore-dmesg"
+
+ALLOW_EMPTY_${PN} = "1"
+RRECOMMENDS_${PN} = "kexec kdump vmcore-dmesg"
+
+FILES_${PN} =+ "${sysconfig}/init.d/kdump ${sysconfig}/sysconfig/kdump.conf"
+FILES_kexec = "${sbindir}/kexec"
+FILES_kdump = "${sbindir}/kdump"
+FILES_vmcore-dmesg = "${sbindir}/vmcore-dmesg"
+
+do_install_append () {
+ install -d ${D}${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/kdump ${D}${sysconfdir}/init.d/kdump
+ install -d ${D}${sysconfdir}/sysconfig
+ install -m 0644 ${WORKDIR}/kdump.conf ${D}${sysconfdir}/sysconfig
+}