Hello community,

here is the log from the commit of package mdadm for openSUSE:Factory
checked in at Wed Mar 2 09:59:39 CET 2011.



--------
--- mdadm/mdadm.changes 2011-02-17 01:28:48.000000000 +0100
+++ /mounts/work_src_done/STABLE/mdadm/mdadm.changes    2011-03-01 
23:16:34.000000000 +0100
@@ -1,0 +2,8 @@
+Tue Mar  1 22:15:23 UTC 2011 - [email protected]
+
+- 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)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mdadm.spec ++++++
--- /var/tmp/diff_new_pack.laHOvd/_old  2011-03-02 09:55:27.000000000 +0100
+++ /var/tmp/diff_new_pack.laHOvd/_new  2011-03-02 09:55:27.000000000 +0100
@@ -20,7 +20,7 @@
 
 Name:           mdadm
 Version:        3.1.4
-Release:        15
+Release:        16
 BuildRequires:  sgmltool
 PreReq:         %fillup_prereq %insserv_prereq
 Obsoletes:      raidtools

++++++ mkinitrd-boot.sh ++++++
--- /var/tmp/diff_new_pack.laHOvd/_old  2011-03-02 09:55:27.000000000 +0100
+++ /var/tmp/diff_new_pack.laHOvd/_new  2011-03-02 09:55:27.000000000 +0100
@@ -121,10 +121,11 @@
        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
 }
 


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to