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@redhat.com --- kexec-tools.spec | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/kexec-tools.spec b/kexec-tools.spec index faf38d6..61128d0 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -209,6 +209,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
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@redhat.com --- kexec-tools.spec | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/kexec-tools.spec b/kexec-tools.spec index faf38d6..8e5511b 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -209,6 +209,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 @@ -329,6 +331,7 @@ done %{_prefix}/lib/kdump %config(noreplace,missingok) %{_sysconfdir}/sysconfig/kdump %config(noreplace,missingok) %{_sysconfdir}/kdump.conf +%config(noreplace,missingok) %{_sysconfdir}/makedumpfile.conf.sample %ifnarch s390x %config %{_sysconfdir}/udev/rules.d/* %endif
On Wed, Dec 04, 2013 at 09:47:07PM +0800, WANG Chao wrote:
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@redhat.com
Acked-by: Vivek Goyal vgoyal@redhat.com
Vivek
kexec-tools.spec | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/kexec-tools.spec b/kexec-tools.spec index faf38d6..8e5511b 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -209,6 +209,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 @@ -329,6 +331,7 @@ done %{_prefix}/lib/kdump %config(noreplace,missingok) %{_sysconfdir}/sysconfig/kdump %config(noreplace,missingok) %{_sysconfdir}/kdump.conf +%config(noreplace,missingok) %{_sysconfdir}/makedumpfile.conf.sample %ifnarch s390x %config %{_sysconfdir}/udev/rules.d/* %endif -- 1.8.4.2
kexec mailing list kexec@lists.fedoraproject.org https://lists.fedoraproject.org/mailman/listinfo/kexec