Author: ug Date: Thu Jan 14 15:25:09 2010 New Revision: 60367 URL: http://svn.opensuse.org/viewcvs/yast?rev=60367&view=rev Log: label support for 'whole devices' added Modified: trunk/autoinstallation/src/modules/ProfileLocation.ycp Modified: trunk/autoinstallation/src/modules/ProfileLocation.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/modules/ProfileLocation.ycp?rev=60367&r1=60366&r2=60367&view=diff ============================================================================== --- trunk/autoinstallation/src/modules/ProfileLocation.ycp (original) +++ trunk/autoinstallation/src/modules/ProfileLocation.ycp Thu Jan 14 15:25:09 2010 @@ -80,6 +80,12 @@ y2milestone("searching label"); foreach( string device, map v, Storage::GetTargetMap(), ``{ y2milestone("looking on %1", device); + if( v["label"]:"" == AutoinstConfig::host ) { // FIXME: does not work. Label was "msdos" while testing + AutoinstConfig::scheme = "device"; + AutoinstConfig::host = substring( device, 5 ); + y2milestone("found on %1", AutoinstConfig::host); + break; + } foreach( map p, v["partitions"]:[], ``{ if( p["label"]:"" == AutoinstConfig::host ) { AutoinstConfig::scheme = "device"; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org