Author: fehr Date: Wed Aug 17 11:55:30 2011 New Revision: 65362 URL: http://svn.opensuse.org/viewcvs/yast?rev=65362&view=rev Log: fix popup about missing separate /home for lvm (bnc#712608) Modified: branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes branches/SuSE-Code-11-SP2-Branch/storage/storage/src/inst_target_part.ycp Modified: branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes?rev=65362&r1=65361&r2=65362&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes Wed Aug 17 11:55:30 2011 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Wed Aug 17 11:46:14 CEST 2011 - fehr@suse.de + +- fix popup about missing separate /home for lvm (bnc#712608) + +------------------------------------------------------------------- Mon Aug 15 16:19:54 CEST 2011 - fehr@suse.de - prevent reuse of existing vg when encryption state is wrong Modified: branches/SuSE-Code-11-SP2-Branch/storage/storage/src/inst_target_part.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/storage/storage/src/inst_target_part.ycp?rev=65362&r1=65361&r2=65362&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/storage/storage/src/inst_target_part.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/storage/storage/src/inst_target_part.ycp Wed Aug 17 11:55:30 2011 @@ -410,7 +410,10 @@ remove or select a larger disk."); display_error_box (reason); } - list<map> pl = Storage::GetTargetMap()[target_is,"partitions"]:[]; + map tg = Storage::GetTargetMap(); + list<map> pl = tg[target_is,"partitions"]:[]; + if( haskey( tg, "/dev/system" )) + pl = (list<map>)union( pl, tg["/dev/system","partitions"]:[] ); y2milestone( "proposed partitions:%1", pl ); if( StorageProposal::GetProposalHome() && size(filter( map p, pl, ``(p["mount"]:""=="/home")))==0 ) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org