From: Harald Hoyer Date: Tue, 2 Jan 2018 13:58:14 +0000 (+0100) Subject: mdraid: call mdadm with "--wait-clean" instead of "-W" X-Git-Tag: 047~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bc4ce61efce3e2d8b2be4f4e3e5fdef6ca08409f;p=thirdparty%2Fdracut.git mdraid: call mdadm with "--wait-clean" instead of "-W" seems like -W changed meanings over the years :-/ --- diff --git a/modules.d/90mdraid/mdraid-waitclean.sh b/modules.d/90mdraid/mdraid-waitclean.sh index 5c901982d..d7f0ffdbb 100755 --- a/modules.d/90mdraid/mdraid-waitclean.sh +++ b/modules.d/90mdraid/mdraid-waitclean.sh @@ -13,12 +13,12 @@ if getargbool 0 rd.md.waitclean; then continue fi info "Waiting for $md to become clean" - mdadm $_offroot -W "$md" >/dev/null 2>&1 + mdadm $_offroot --wait-clean "$md" >/dev/null 2>&1 done for md in $containers; do info "Waiting for $md to become clean" - mdadm $_offroot -W "$md" >/dev/null 2>&1 + mdadm $_offroot --wait-clean "$md" >/dev/null 2>&1 done unset containers udevinfo _offroot