Update kdump dracut module with the latest dracut kdump branch
This commit is contained in:
parent
2d16a847d4
commit
113404857a
@ -1,6 +1,6 @@
|
|||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 2.0.2
|
Version: 2.0.2
|
||||||
Release: 30%{?dist}
|
Release: 31%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: The kexec/kdump userspace component.
|
Summary: The kexec/kdump userspace component.
|
||||||
@ -297,6 +297,9 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 10 2012 Cong Wang <xiyou.wangcong@gmail.com> - 2.0.2-31
|
||||||
|
- Update kdump dracut module with the latest dracut kdump branch.
|
||||||
|
|
||||||
* Fri Dec 16 2011 Cong Wang <xiyou.wangcong@gmail.com> - 2.0.2-30
|
* Fri Dec 16 2011 Cong Wang <xiyou.wangcong@gmail.com> - 2.0.2-30
|
||||||
- Update kdump dracut module to use the latest dracut feature.
|
- Update kdump dracut module to use the latest dracut feature.
|
||||||
|
|
||||||
|
3
mkdumprd
3
mkdumprd
@ -92,7 +92,7 @@ if [ -n "$conf_file" ]; then
|
|||||||
check_remote "$config_val"
|
check_remote "$config_val"
|
||||||
if strstr "$config_val" "@";
|
if strstr "$config_val" "@";
|
||||||
then
|
then
|
||||||
add_dracut_module "scp"
|
add_dracut_module "ssh-client"
|
||||||
else
|
else
|
||||||
add_dracut_module "nfs"
|
add_dracut_module "nfs"
|
||||||
add_dracut_mount "$(to_mount $config_val)"
|
add_dracut_mount "$(to_mount $config_val)"
|
||||||
@ -120,5 +120,6 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
dracut "${dracut_args[@]}" -M "$@"
|
dracut "${dracut_args[@]}" -M "$@"
|
||||||
|
sync
|
||||||
exit $?
|
exit $?
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user