add rhcrashkernel-param.sh for anaconda use
Resolves: 707441 Provide a script rhcrashkernel-param.sh to generate cmdline, so anaconda can just call it, we can easily add more logic into this script later. Note: Currently for fedora only adding null output for testing purpose. Signed-off-by: Dave Young <dyoung@redhat.com> Suggested-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
70dbef8656
commit
ca94c80a91
@ -21,6 +21,7 @@ Source13: kexec-tools-po.tar.gz
|
||||
Source14: 98-kexec.rules
|
||||
Source15: kdump.conf.5
|
||||
Source16: kdump.service
|
||||
Source17: rhcrashkernel-param.sh
|
||||
|
||||
#######################################
|
||||
# These are sources for mkdumpramfs
|
||||
@ -149,6 +150,8 @@ install -m 644 %{SOURCE12} $RPM_BUILD_ROOT%{_mandir}/man8/mkdumprd.8
|
||||
install -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/98-kexec.rules
|
||||
install -m 644 %{SOURCE15} $RPM_BUILD_ROOT%{_mandir}/man5/kdump.conf.5
|
||||
install -m 644 %{SOURCE16} $RPM_BUILD_ROOT%{_unitdir}/kdump.service
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/sbin
|
||||
install -m 755 %{SOURCE17} $RPM_BUILD_ROOT/usr/sbin/rhcrashkernel-param.sh
|
||||
|
||||
%ifarch %{ix86} x86_64 ia64 ppc64
|
||||
install -m 755 makedumpfile-1.4.2/makedumpfile $RPM_BUILD_ROOT/sbin/makedumpfile
|
||||
@ -274,6 +277,7 @@ done
|
||||
|
||||
%files -f %{name}.lang
|
||||
/sbin/*
|
||||
/usr/sbin/*
|
||||
%{_bindir}/*
|
||||
%{_datadir}/kdump
|
||||
%config(noreplace,missingok) %{_sysconfdir}/sysconfig/kdump
|
||||
|
2
rhcrashkernel-param.sh
Normal file
2
rhcrashkernel-param.sh
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
echo -n
|
Loading…
Reference in New Issue
Block a user