[PATCH] Add sample eppic scripts to kexec-tools-eppic package
Vivek Goyal
vgoyal at redhat.com
Thu Sep 18 13:24:49 UTC 2014
On Thu, Sep 18, 2014 at 01:49:09PM +0800, WANG Chao wrote:
> Upstream makedumpfile contains some sample eppic scripts for reference.
> Now pull the whole scripts directory into kexec-tools-eppic package.
>
> Signed-off-by: WANG Chao <chaowang at redhat.com>
If scripts are part of makedumpfile, then it should be part of kexec-tools
package and not kexec-tools-eppic?
Thanks
Vivek
> ---
> kexec-tools.spec | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/kexec-tools.spec b/kexec-tools.spec
> index af0c69b..6411ccf 100644
> --- a/kexec-tools.spec
> +++ b/kexec-tools.spec
> @@ -203,6 +203,8 @@ install -m 644 makedumpfile-1.5.6/makedumpfile.8.gz $RPM_BUILD_ROOT/%{_mandir}/m
> install -m 644 makedumpfile-1.5.6/makedumpfile.conf.5.gz $RPM_BUILD_ROOT/%{_mandir}/man5/makedumpfile.conf.5.gz
> install -m 644 makedumpfile-1.5.6/makedumpfile.conf $RPM_BUILD_ROOT/%{_sysconfdir}/makedumpfile.conf.sample
> install -m 755 makedumpfile-1.5.6/eppic_makedumpfile.so $RPM_BUILD_ROOT/%{_libdir}/eppic_makedumpfile.so
> +mkdir -p $RPM_BUILD_ROOT/usr/share/makedumpfile/eppic_scripts/
> +install -m 644 makedumpfile-1.5.6/eppic_scripts/* $RPM_BUILD_ROOT/usr/share/makedumpfile/eppic_scripts/
> %endif
> make -C kdump-anaconda-addon install DESTDIR=$RPM_BUILD_ROOT
> %find_lang kdump-anaconda-addon
> @@ -324,6 +326,7 @@ done
> %ifarch %{ix86} x86_64 ppc64 s390x
> %files eppic
> %{_libdir}/eppic_makedumpfile.so
> +/usr/share/makedumpfile/eppic_scripts/
> %endif
>
> %files anaconda-addon -f kdump-anaconda-addon.lang
> --
> 1.9.3
>
> _______________________________________________
> kexec mailing list
> kexec at lists.fedoraproject.org
> https://lists.fedoraproject.org/mailman/listinfo/kexec
More information about the kexec
mailing list