Author: fehr Date: Tue Jun 26 10:58:49 2007 New Revision: 39029 URL: http://svn.opensuse.org/viewcvs/yast?rev=39029&view=rev Log: add windows default mount points also in VM proposal (#262417) Modified: trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/include/do_proposal_flexible.ycp Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=39029&r1=39028&r2=39029&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Tue Jun 26 10:58:49 2007 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue Jun 26 10:57:56 CEST 2007 - fehr@suse.de + +- add windows default mount points also in VM proposal (#262417) + +------------------------------------------------------------------- Mon Jun 25 17:41:27 CEST 2007 - fehr@suse.de - fixed problem mounting filesystem in inst-sys (#286686) Modified: trunk/storage/storage/src/include/do_proposal_flexible.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/do_proposal_flexible.ycp?rev=39029&r1=39028&r2=39029&view=diff ============================================================================== --- trunk/storage/storage/src/include/do_proposal_flexible.ycp (original) +++ trunk/storage/storage/src/include/do_proposal_flexible.ycp Tue Jun 26 10:58:49 2007 @@ -3043,7 +3043,16 @@ { foreach( string s, map disk, target, ``{ - target[s,"partitions"] = remove_keys( target[s,"partitions"]:[], + target[s,"partitions"] = + maplist( map p, target[s,"partitions"]:[], + ``{ + if( haskey( p, "mount" ) && + search( p["mount"]:"", "/windows/" )!=0 && + search( p["mount"]:"", "/dos/" )!=0 ) + p = remove( p, "mount" ); + return( p ); + }); + remove_keys( target[s,"partitions"]:[], [ "mount" ] ); }); return( target ); @@ -3786,6 +3795,7 @@ Storage::ActivateEvms(); target = Storage::GetTargetMap(); } + y2milestone( "target:%1", target ); ret = get_inst_prop_vm( target, vg ); } return( ret ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org