[kexec-tools] Add makedumpfile.conf and its man page
WANG Chao
wangchao at fedoraproject.org
Tue Dec 24 06:37:49 UTC 2013
commit 7d6ef48a5afee1d86f2757c3ffb09553d319528b
Author: WANG Chao <chaowang at redhat.com>
Date: Wed Dec 4 21:47:07 2013 +0800
Add makedumpfile.conf and its man page
makedumpfile can filter out kernel data from vmcore[1]. A how-to of feature
is well explained in makedumpfile.conf, which upstream is already
shipping but we're not.
Now add makedumpfile.conf and its man page to our package the upstream
way:
makedumpfile.conf --> /etc/makedumpfile.conf.sample
makedumpfile.conf.5.gz --> /usr/share/man/man5/makedumpfile.conf.5.gz
[1]. http://lists.infradead.org/pipermail/kexec/2011-September/005466.html
Signed-off-by: WANG Chao <chaowang at redhat.com>
Acked-by: Vivek Goyal <vgoyal at redhat.com>
kexec-tools.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/kexec-tools.spec b/kexec-tools.spec
index 1f0f344..c800169 100644
--- a/kexec-tools.spec
+++ b/kexec-tools.spec
@@ -210,6 +210,8 @@ install -m 755 %{SOURCE17} $RPM_BUILD_ROOT/usr/sbin/rhcrashkernel-param
%ifarch %{ix86} x86_64 ia64 ppc64 s390x
install -m 755 makedumpfile-1.5.4/makedumpfile $RPM_BUILD_ROOT/sbin/makedumpfile
install -m 644 makedumpfile-1.5.4/makedumpfile.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/makedumpfile.8.gz
+install -m 644 makedumpfile-1.5.4/makedumpfile.conf.5.gz $RPM_BUILD_ROOT/%{_mandir}/man5/makedumpfile.conf.5.gz
+install -m 644 makedumpfile-1.5.4/makedumpfile.conf $RPM_BUILD_ROOT/%{_sysconfdir}/makedumpfile.conf.sample
install -m 755 makedumpfile-1.5.4/eppic_makedumpfile.so $RPM_BUILD_ROOT/%{_libdir}/eppic_makedumpfile.so
%endif
make -C kexec-tools-po install DESTDIR=$RPM_BUILD_ROOT
@@ -328,6 +330,9 @@ done
%{_bindir}/*
%{_datadir}/kdump
%{_prefix}/lib/kdump
+%ifarch %{ix86} x86_64 ia64 ppc64 s390x
+%{_sysconfdir}/makedumpfile.conf.sample
+%endif
%config(noreplace,missingok) %{_sysconfdir}/sysconfig/kdump
%config(noreplace,missingok) %{_sysconfdir}/kdump.conf
%ifnarch s390x
More information about the scm-commits
mailing list