Author: fehr Date: Mon Jun 18 12:48:57 2007 New Revision: 38499 URL: http://svn.opensuse.org/viewcvs/yast?rev=38499&view=rev Log: - add menu extry to call iSCSI client setup (#278554) - version 2.15.16 Modified: trunk/storage/VERSION trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/inst_custom_part.ycp Modified: trunk/storage/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/VERSION?rev=38499&r1=38498&r2=38499&view=diff ============================================================================== --- trunk/storage/VERSION (original) +++ trunk/storage/VERSION Mon Jun 18 12:48:57 2007 @@ -1 +1 @@ -2.15.15 +2.15.16 Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=38499&r1=38498&r2=38499&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Mon Jun 18 12:48:57 2007 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Jun 18 12:48:04 CEST 2007 - fehr@suse.de + +- add menu extry to call iSCSI client setup (#278554) +- version 2.15.16 + +------------------------------------------------------------------- Thu Jun 14 16:46:09 CEST 2007 - fehr@suse.de - use provided fstab options when mounting filesystems Modified: trunk/storage/storage/src/inst_custom_part.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/inst_custom_part.ycp?rev=38499&r1=38498&r2=38499&view=diff ============================================================================== --- trunk/storage/storage/src/inst_custom_part.ycp (original) +++ trunk/storage/storage/src/inst_custom_part.ycp Mon Jun 18 12:48:57 2007 @@ -2580,7 +2580,10 @@ //button text using case-senstive command name. dasdfmt should not normally be translated. _("dasd&fmt")) ); } - + expert_item_list = + add( expert_item_list, `item( `id(`iscsi), + // menu entry text + _("Call &iSCSI configuration"))); term buttonline_b = `HBox(); @@ -3392,6 +3395,35 @@ } } + if( ret==`iscsi ) + { + boolean changed = + !Storage::EqualBackupStates( "custom_part", "", true ); + if( changed ) + { + // popup text + if( Popup::YesNo(_("Calling iSCSI configuration cancels all current changes. +Really do this?"))) + changed = false; + } + + if( !changed ) + { + if( Package::InstallAll( ["yast2-iscsi-client"] )) + { + WFM::call( "iscsi-client" ); + UI::OpenDialog( `opt(`decorated), + `VBox( + `VSpacing(1), + `HBox(`HSpacing(1), + `Label(_("Rereading disk information...")), + `HSpacing(1)), + `VSpacing(1))); + Storage::ReReadTargetMap(); + UI::CloseDialog(); + } + } + } ///////////////////////////////////////////////////////////// // REREAD -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org