diff options
| -rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools/0007-kexec-un-break-the-build-on-32-bit-x86.patch | 42 | ||||
| -rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools_2.0.20.bb (renamed from meta/recipes-kernel/kexec/kexec-tools_2.0.19.bb) | 27 |
2 files changed, 56 insertions, 13 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools/0007-kexec-un-break-the-build-on-32-bit-x86.patch b/meta/recipes-kernel/kexec/kexec-tools/0007-kexec-un-break-the-build-on-32-bit-x86.patch new file mode 100644 index 0000000000..b91608e52b --- /dev/null +++ b/meta/recipes-kernel/kexec/kexec-tools/0007-kexec-un-break-the-build-on-32-bit-x86.patch | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | From d294c5039753a36506949ba5dc782a4c0b307b74 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 3 | Date: Fri, 20 Dec 2019 17:21:08 +0100 | ||
| 4 | Subject: [PATCH] kexec: un-break the build on 32 bit x86 | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 8 | --- | ||
| 9 | kexec/arch/i386/Makefile | 1 + | ||
| 10 | kexec/arch/i386/kexec-x86.h | 4 ++++ | ||
| 11 | 2 files changed, 5 insertions(+) | ||
| 12 | |||
| 13 | diff --git a/kexec/arch/i386/Makefile b/kexec/arch/i386/Makefile | ||
| 14 | index 105cefd..25df57a 100644 | ||
| 15 | --- a/kexec/arch/i386/Makefile | ||
| 16 | +++ b/kexec/arch/i386/Makefile | ||
| 17 | @@ -11,6 +11,7 @@ i386_KEXEC_SRCS += kexec/arch/i386/kexec-beoboot-x86.c | ||
| 18 | i386_KEXEC_SRCS += kexec/arch/i386/kexec-nbi.c | ||
| 19 | i386_KEXEC_SRCS += kexec/arch/i386/x86-linux-setup.c | ||
| 20 | i386_KEXEC_SRCS += kexec/arch/i386/crashdump-x86.c | ||
| 21 | +i386_KEXEC_SRCS += kexec/arch/i386/kexec-mb2-x86.c | ||
| 22 | |||
| 23 | dist += kexec/arch/i386/Makefile $(i386_KEXEC_SRCS) \ | ||
| 24 | kexec/arch/i386/crashdump-x86.h \ | ||
| 25 | diff --git a/kexec/arch/i386/kexec-x86.h b/kexec/arch/i386/kexec-x86.h | ||
| 26 | index 1b58c3b..d6b10c0 100644 | ||
| 27 | --- a/kexec/arch/i386/kexec-x86.h | ||
| 28 | +++ b/kexec/arch/i386/kexec-x86.h | ||
| 29 | @@ -56,9 +56,13 @@ struct arch_options_t { | ||
| 30 | }; | ||
| 31 | |||
| 32 | int multiboot_x86_probe(const char *buf, off_t len); | ||
| 33 | +int multiboot2_x86_probe(const char *buf, off_t len); | ||
| 34 | int multiboot_x86_load(int argc, char **argv, const char *buf, off_t len, | ||
| 35 | struct kexec_info *info); | ||
| 36 | +int multiboot2_x86_load(int argc, char **argv, const char *buf, off_t len, | ||
| 37 | + struct kexec_info *info); | ||
| 38 | void multiboot_x86_usage(void); | ||
| 39 | +void multiboot2_x86_usage(void); | ||
| 40 | |||
| 41 | int elf_x86_probe(const char *buf, off_t len); | ||
| 42 | int elf_x86_load(int argc, char **argv, const char *buf, off_t len, | ||
diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.19.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.20.bb index c3f74359f1..871b36440f 100644 --- a/meta/recipes-kernel/kexec/kexec-tools_2.0.19.bb +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.20.bb | |||
| @@ -10,19 +10,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ea5bed2f60d357618ca161ad539f7c0a \ | |||
| 10 | DEPENDS = "zlib xz" | 10 | DEPENDS = "zlib xz" |
| 11 | 11 | ||
| 12 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz \ | 12 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz \ |
| 13 | file://kdump \ | 13 | file://kdump \ |
| 14 | file://kdump.conf \ | 14 | file://kdump.conf \ |
| 15 | file://kdump.service \ | 15 | file://kdump.service \ |
| 16 | file://0001-powerpc-change-the-memory-size-limit.patch \ | 16 | file://0001-powerpc-change-the-memory-size-limit.patch \ |
| 17 | file://0002-purgatory-Pass-r-directly-to-linker.patch \ | 17 | file://0002-purgatory-Pass-r-directly-to-linker.patch \ |
| 18 | file://0003-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch \ | 18 | file://0003-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch \ |
| 19 | file://0004-x86_64-Add-support-to-build-kexec-tools-with-x32-ABI.patch \ | 19 | file://0004-x86_64-Add-support-to-build-kexec-tools-with-x32-ABI.patch \ |
| 20 | file://0005-Disable-PIE-during-link.patch \ | 20 | file://0005-Disable-PIE-during-link.patch \ |
| 21 | file://0006-kexec-arm-undefine-__NR_kexec_file_load-for-arm.patch \ | 21 | file://0006-kexec-arm-undefine-__NR_kexec_file_load-for-arm.patch \ |
| 22 | " | 22 | file://0007-kexec-un-break-the-build-on-32-bit-x86.patch \ |
| 23 | 23 | " | |
| 24 | SRC_URI[md5sum] = "052458f0a35c2a3b0d2302caa3318e9f" | 24 | |
| 25 | SRC_URI[sha256sum] = "913c8dee918e5855a4ba60d609371390978144b4c8d15d6446ca0057b7bc5e58" | 25 | SRC_URI[md5sum] = "46724b67f32501c5d3e778161347cad9" |
| 26 | SRC_URI[sha256sum] = "cb16d79818e0c9de3bb3e33ede5677c34a1d28c646379c7ab44e0faa3eb57a16" | ||
| 26 | 27 | ||
| 27 | inherit autotools update-rc.d systemd | 28 | inherit autotools update-rc.d systemd |
| 28 | 29 | ||
