Date: Monday, April 12, 2010 @ 16:48:57 Author: thomas Revision: 77425
Revert the quiet change (it was the one that actually broke things), fixes FS#18348 Modified: dmraid/trunk/PKGBUILD dmraid/trunk/dmraid_hook -------------+ PKGBUILD | 4 ++-- dmraid_hook | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-04-12 18:58:34 UTC (rev 77424) +++ PKGBUILD 2010-04-12 20:48:57 UTC (rev 77425) @@ -4,7 +4,7 @@ pkgname=dmraid pkgver=1.0.0.rc16+CVS -pkgrel=1 +pkgrel=2 pkgdesc="Device mapper RAID interface" url="http://people.redhat.com/~heinzm/sw/dmraid/" depends=('device-mapper>=2.0.54') @@ -17,7 +17,7 @@ install=dmraid.install md5sums=('c0de87073de96b311d26ab0170b2a753' 'd01908b414e1686c0f3233ff37de78a5' - '4d1c6af4fb043abe7acaa6658ef68fcf') + '0a748b6e78b156f2f9dda45fc629651f') build() { cd "$srcdir"/$pkgname/$pkgver Modified: dmraid_hook =================================================================== --- dmraid_hook 2010-04-12 18:58:34 UTC (rev 77424) +++ dmraid_hook 2010-04-12 20:48:57 UTC (rev 77425) @@ -7,9 +7,12 @@ if [ ! -e "/dev/mapper/control" ]; then /bin/mknod "/dev/mapper/control" c $(cat /sys/class/misc/device-mapper/dev | sed 's|:| |') fi - [ "${quiet}" = "y" ] && DMRAIDQUIET=">/dev/null" msg ":: Activating dmraid arrays..." # prevent any event monitoring calls with -I - /sbin/dmraid -ay -I -Z $DMRAIDQUIET + if [ "${quiet}" = "y" ]; then + /sbin/dmraid -ay -I -Z >/dev/null + else + /sbin/dmraid -ay -I -Z + fi fi }
