Accepting request 63188 from Base:System

Accepted submit request 63188 from user neilbrown

OBS-URL: https://build.opensuse.org/request/show/63188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=54
This commit is contained in:
Sascha Peilicke 2011-03-02 08:59:39 +00:00 committed by Git OBS Bridge
commit ff6000650a
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Mar 1 22:15:23 UTC 2011 - nfbrown@novell.com
- mkinitrd-boot.sh: don't assume /dev/md when device
name cannot be found. It could easily be wrong,
and there is no need as mdadm will choose a device.
(bnc#656536)
-------------------------------------------------------------------
Thu Feb 17 00:27:02 UTC 2011 - nfbrown@novell.com

View File

@ -121,10 +121,11 @@ md_assemble()
else
dev=$(get_md_name "$uuid")
if test -z "$dev"; then
# fallback
dev=/dev/md0
# mdadm will pick a device name
$mdadm -A $mdconf --uuid=$uuid
else
$mdadm -A $mdconf --uuid=$uuid "$dev"
fi
$mdadm -A $mdconf --uuid=$uuid "$dev"
fi
}