makedumpfile has arm support but we did not enable the build options in
Fedora rpm spec file, let's do it for armv7hl.
Tested on bbb arm board with basic "bt" command in crash utility.
Enabling the build so that we can collect more test result
Signed-off-by: Dave Young <dyoung(a)redhat.com>
---
kexec-tools.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--- kexec-tools.orig/kexec-tools.spec
+++ kexec-tools/kexec-tools.spec
@@ -49,7 +49,7 @@ Requires: dracut, dracut-network, ethtoo
BuildRequires: zlib-devel zlib zlib-static elfutils-devel-static glib2-devel bzip2-devel
ncurses-devel bison flex lzo-devel snappy-devel
BuildRequires: pkgconfig intltool gettext
BuildRequires: systemd-units
-%ifarch %{ix86} x86_64 ppc64 ppc s390x ppc64le
+%ifarch %{ix86} x86_64 ppc64 ppc s390x ppc64le armv7hl
Obsoletes: diskdumputils netdump kexec-tools-eppic
%endif
@@ -129,7 +129,7 @@ cp %{SOURCE10} .
cp %{SOURCE21} .
make
-%ifarch %{ix86} x86_64 ppc64 s390x ppc64le
+%ifarch %{ix86} x86_64 ppc64 s390x ppc64le armv7hl
make -C eppic/libeppic
make -C makedumpfile-1.5.9 LINKTYPE=dynamic USELZO=on USESNAPPY=on
make -C makedumpfile-1.5.9 LDFLAGS="-I../eppic/libeppic -L../eppic/libeppic"
eppic_makedumpfile.so
@@ -174,7 +174,7 @@ install -m 755 -D %{SOURCE22} $RPM_BUILD
mkdir -p $RPM_BUILD_ROOT/usr/sbin
install -m 755 %{SOURCE17} $RPM_BUILD_ROOT/usr/sbin/rhcrashkernel-param
-%ifarch %{ix86} x86_64 ppc64 s390x ppc64le
+%ifarch %{ix86} x86_64 ppc64 s390x ppc64le armv7hl
install -m 755 makedumpfile-1.5.9/makedumpfile $RPM_BUILD_ROOT/sbin/makedumpfile
install -m 644 makedumpfile-1.5.9/makedumpfile.8.gz
$RPM_BUILD_ROOT/%{_mandir}/man8/makedumpfile.8.gz
install -m 644 makedumpfile-1.5.9/makedumpfile.conf.5.gz
$RPM_BUILD_ROOT/%{_mandir}/man5/makedumpfile.conf.5.gz
@@ -280,7 +280,7 @@ done
%{_bindir}/*
%{_datadir}/kdump
%{_prefix}/lib/kdump
-%ifarch %{ix86} x86_64 ppc64 s390x ppc64le
+%ifarch %{ix86} x86_64 ppc64 s390x ppc64le armv7hl
%{_sysconfdir}/makedumpfile.conf.sample
%endif
%config(noreplace,missingok) %{_sysconfdir}/sysconfig/kdump
@@ -299,7 +299,7 @@ done
%doc TODO
%doc kexec-kdump-howto.txt
%doc kdump-in-cluster-environment.txt
-%ifarch %{ix86} x86_64 ppc64 s390x ppc64le
+%ifarch %{ix86} x86_64 ppc64 s390x ppc64le armv7hl
%{_libdir}/eppic_makedumpfile.so
/usr/share/makedumpfile/eppic_scripts/
%endif
Show replies by date