- fix zFCP device discovery in anaconda GUI (#1054691)

This commit is contained in:
Dan Horák 2014-03-04 12:59:40 +01:00
parent 826b40fc84
commit a1d11a8050
2 changed files with 12 additions and 7 deletions

View File

@ -98,6 +98,13 @@ wait_on_single_device()
# at this point we know the content of ALL_DEVICES is syntacticly correct # at this point we know the content of ALL_DEVICES is syntacticly correct
wait_on_devices() wait_on_devices()
{ {
if [ -w $CIO_SETTLE ]; then
[ $VERBOSE ] && echo "Waiting until all pending CIO requests are processed"
echo 1 > $CIO_SETTLE
udevadm settle
return
fi
OLD_IFS=$IFS OLD_IFS=$IFS
IFS="," IFS=","
set $ALL_DEVICES set $ALL_DEVICES
@ -303,9 +310,4 @@ fi
[ -z "$ALL_DEVICES" ] && exit 0 [ -z "$ALL_DEVICES" ] && exit 0
if [ -w $CIO_SETTLE ]; then wait_on_devices
[ $VERBOSE ] && echo "Waiting until all pending CIO requests are processed"
echo 1 > $CIO_SETTLE
else
wait_on_devices
fi

View File

@ -5,7 +5,7 @@ Name: s390utils
Summary: Utilities and daemons for IBM System/z Summary: Utilities and daemons for IBM System/z
Group: System Environment/Base Group: System Environment/Base
Version: 1.23.0 Version: 1.23.0
Release: 9%{?dist} Release: 10%{?dist}
Epoch: 2 Epoch: 2
License: GPLv2 and GPLv2+ and CPL License: GPLv2 and GPLv2+ and CPL
ExclusiveArch: s390 s390x ExclusiveArch: s390 s390x
@ -734,6 +734,9 @@ User-space development files for the s390/s390x architecture.
%changelog %changelog
* Tue Mar 04 2014 Dan Horák <dan[at]danny.cz> - 2:1.23.0-10
- fix zFCP device discovery in anaconda GUI (#1054691)
* Mon Feb 10 2014 Dan Horák <dan[at]danny.cz> - 2:1.23.0-9 * Mon Feb 10 2014 Dan Horák <dan[at]danny.cz> - 2:1.23.0-9
- znetconf: Allow for 16-char network interface names (#1062285) - znetconf: Allow for 16-char network interface names (#1062285)
- qetharp: Allow for 16-char network interface names (#1062250) - qetharp: Allow for 16-char network interface names (#1062250)