forked from pool/mdadm
This commit is contained in:
parent
8e87afbd14
commit
05d024bd96
4
boot.md
4
boot.md
@ -81,7 +81,7 @@ mdadm_CONFIG="/etc/mdadm.conf"
|
|||||||
mdadm_SYSCONFIG="/etc/sysconfig/mdadm"
|
mdadm_SYSCONFIG="/etc/sysconfig/mdadm"
|
||||||
|
|
||||||
# udev integration
|
# udev integration
|
||||||
if [ -x /sbin/udevsettle ] ; then
|
if [ -x /sbin/udevadm ] ; then
|
||||||
[ -z "$MDADM_DEVICE_TIMEOUT" ] && MDADM_DEVICE_TIMEOUT=60
|
[ -z "$MDADM_DEVICE_TIMEOUT" ] && MDADM_DEVICE_TIMEOUT=60
|
||||||
else
|
else
|
||||||
MDADM_DEVICE_TIMEOUT=0
|
MDADM_DEVICE_TIMEOUT=0
|
||||||
@ -115,7 +115,7 @@ case "$1" in
|
|||||||
|
|
||||||
# Wait for udev to settle
|
# Wait for udev to settle
|
||||||
if [ "$MDADM_DEVICE_TIMEOUT" -gt 0 ] ; then
|
if [ "$MDADM_DEVICE_TIMEOUT" -gt 0 ] ; then
|
||||||
/sbin/udevsettle --timeout="$MDADM_DEVICE_TIMEOUT"
|
/sbin/udevadm settle --timeout="$MDADM_DEVICE_TIMEOUT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$BOOT_MD_USE_MDADM_CONFIG" = "yes" -a -e "$mdadm_CONFIG"; then
|
if test "$BOOT_MD_USE_MDADM_CONFIG" = "yes" -a -e "$mdadm_CONFIG"; then
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 24 18:24:25 CEST 2008 - ro@suse.de
|
||||||
|
|
||||||
|
- change "udevsettle" to "udevadm settle"
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 19 11:14:05 CEST 2008 - mmarek@suse.cz
|
Fri Sep 19 11:14:05 CEST 2008 - mmarek@suse.cz
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
Name: mdadm
|
Name: mdadm
|
||||||
Version: 3.0
|
Version: 3.0
|
||||||
Release: 1
|
Release: 2
|
||||||
%define ver 3.0-devel1
|
%define ver 3.0-devel1
|
||||||
BuildRequires: sgmltool
|
BuildRequires: sgmltool
|
||||||
PreReq: %fillup_prereq %insserv_prereq
|
PreReq: %fillup_prereq %insserv_prereq
|
||||||
@ -137,6 +137,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/lib/mkinitrd/scripts/boot-md.sh
|
/lib/mkinitrd/scripts/boot-md.sh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 24 2008 ro@suse.de
|
||||||
|
- change "udevsettle" to "udevadm settle"
|
||||||
* Fri Sep 19 2008 mmarek@suse.cz
|
* Fri Sep 19 2008 mmarek@suse.cz
|
||||||
- added /var/run/mdadm for mdmon
|
- added /var/run/mdadm for mdmon
|
||||||
- fixed build
|
- fixed build
|
||||||
|
Loading…
Reference in New Issue
Block a user