Author: ug Date: Thu Mar 13 15:37:24 2008 New Revision: 45433 URL: http://svn.opensuse.org/viewcvs/yast?rev=45433&view=rev Log: <device> autodetection for RAID added Modified: trunk/autoinstallation/package/autoyast2.changes trunk/autoinstallation/src/modules/AutoinstStorage.ycp Modified: trunk/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/package/autoyast2.changes?rev=45433&r1=45432&r2=45433&view=diff ============================================================================== --- trunk/autoinstallation/package/autoyast2.changes (original) +++ trunk/autoinstallation/package/autoyast2.changes Thu Mar 13 15:37:24 2008 @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Wed Mar 5 10:40:50 CET 2008 - ug@suse.de -- <kernel> was not handled correctly (#366553) +- <kernel> was not handled correctly (bnc#366553) - 2.16.8 ------------------------------------------------------------------- Modified: trunk/autoinstallation/src/modules/AutoinstStorage.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/modules/AutoinstStorage.ycp?rev=45433&r1=45432&r2=45433&view=diff ============================================================================== --- trunk/autoinstallation/src/modules/AutoinstStorage.ycp (original) +++ trunk/autoinstallation/src/modules/AutoinstStorage.ycp Thu Mar 13 15:37:24 2008 @@ -76,6 +76,15 @@ string mbr_disk = ""; if( after == "" ) { foreach (string device, map disk, initial_target_map, ``{ + if (disk["type"]:`jo == `CT_DMRAID) + { + mbr_disk = device; + } + }); + } + + if( after == "" && mbr_disk == "" ) { + foreach (string device, map disk, initial_target_map, ``{ if (disk["bios_id"]:"" == "0x80") { mbr_disk = device; @@ -95,7 +104,7 @@ }); } - y2milestone("mbr disk: %1", mbr_disk); + y2milestone("device detection: %1", mbr_disk); return mbr_disk; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org