From c95bc86c967f937d19a974125d870528f2984005 Mon Sep 17 00:00:00 2001 From: "peng.zou" Date: Fri, 2 Feb 2024 11:07:43 +0800 Subject: [PATCH] Add ppc64le support --- kexec-tools.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/kexec-tools.spec b/kexec-tools.spec index 55330d2..5c0027d 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -4,7 +4,7 @@ Name: kexec-tools Version: 2.0.23 -Release: 11 +Release: 12 License: GPLv2 Summary: The kexec/kdump userspace component URL: https://www.kernel.org/ @@ -138,7 +138,7 @@ rm -f kexec-tools.spec.in cp %{SOURCE21} %{SOURCE26} %{SOURCE27} . make -%ifarch %{ix86} x86_64 aarch64 sw_64 loongarch64 +%ifarch %{ix86} x86_64 aarch64 sw_64 loongarch64 ppc64le make -C eppic-%{eppic_ver}/libeppic make -C makedumpfile-%{mkdf_ver} LINKTYPE=dynamic USELZO=on USESNAPPY=on make -C makedumpfile-%{mkdf_ver} LDFLAGS="$LDFLAGS -I../eppic-%{eppic_ver}/libeppic -L../eppic-%{eppic_ver}/libeppic" eppic_makedumpfile.so @@ -182,7 +182,7 @@ install -m 644 %{SOURCE16} %{buildroot}%{_unitdir}/kdump.service install -m 755 -D %{SOURCE22} %{buildroot}%{_prefix}/lib/systemd/system-generators/kdump-dep-generator.sh install -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_udevrulesdir}/98-kexec.rules -%ifarch %{ix86} x86_64 aarch64 sw_64 loongarch64 +%ifarch %{ix86} x86_64 aarch64 sw_64 loongarch64 ppc64le install -m 755 makedumpfile-%{mkdf_ver}/makedumpfile $RPM_BUILD_ROOT/usr/sbin/makedumpfile install -m 644 makedumpfile-%{mkdf_ver}/makedumpfile.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/makedumpfile.8.gz install -m 644 makedumpfile-%{mkdf_ver}/makedumpfile.conf.5.gz $RPM_BUILD_ROOT/%{_mandir}/man5/makedumpfile.conf.5.gz @@ -287,14 +287,14 @@ done %{dracutlibdir}/modules.d/* %{_unitdir}/kdump.service %{_prefix}/lib/systemd/system-generators/kdump-dep-generator.sh -%ifarch %{ix86} x86_64 aarch64 sw_64 loongarch64 +%ifarch %{ix86} x86_64 aarch64 sw_64 loongarch64 ppc64le %{_libdir}/eppic_makedumpfile.so /usr/share/makedumpfile/ %endif -%ifarch %{ix86} x86_64 aarch64 sw_64 loongarch64 +%ifarch %{ix86} x86_64 aarch64 sw_64 loongarch64 ppc64le %{_sysconfdir}/makedumpfile.conf.sample %endif -%ifarch %{ix86} x86_64 aarch64 sw_64 loongarch64 +%ifarch %{ix86} x86_64 aarch64 sw_64 loongarch64 ppc64le /usr/sbin/makedumpfile %endif @@ -307,11 +307,14 @@ done %{_mandir}/man8/mkdumprd.8.gz %{_mandir}/man8/vmcore-dmesg.8.gz %{_mandir}/man5/* -%ifarch %{ix86} x86_64 aarch64 sw_64 loongarch64 +%ifarch %{ix86} x86_64 aarch64 sw_64 loongarch64 ppc64le %{_mandir}/man8/makedumpfile.8.gz %endif %changelog +* Fri Feb 2 2024 peng.zou - 2.0.23-12 +- Add ppc64le support + * Fri Dec 30 2022 chenhaixiang - 2.0.23-11 - fix shellcheck error in dracut module setup -- Gitee