[yast-commit] r59983 - /trunk/storage/storage/src/modules/Storage.ycp
Author: aschnell Date: Mon Dec 7 16:35:46 2009 New Revision: 59983 URL: http://svn.opensuse.org/viewcvs/yast?rev=59983&view=rev Log: - take all containers from libstorage in testmode Modified: trunk/storage/storage/src/modules/Storage.ycp Modified: trunk/storage/storage/src/modules/Storage.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/Storage.ycp?rev=59983&r1=59982&r2=59983&view=diff ============================================================================== --- trunk/storage/storage/src/modules/Storage.ycp (original) +++ trunk/storage/storage/src/modules/Storage.ycp Mon Dec 7 16:35:46 2009 @@ -3082,7 +3082,15 @@ map<string,map> tmp = $[]; boolean changed = false; - if( !probe_done && !Mode::config() ) + + if (Mode::test()) + { + foreach(map c, conts, { + tmp[c["device"]:""] = getContainerInfo(c); + }); + StorageMap[targets_key] = tmp; + } + else if( !probe_done && !Mode::config() ) { map<string,string> bios_id_raid = $[]; y2milestone ("probing StorageDevices" ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org