Author: jsuchome Date: Wed Apr 30 09:32:25 2008 New Revision: 47187 URL: http://svn.opensuse.org/viewcvs/yast?rev=47187&view=rev Log: - Patch CD: ensure first CD is in drive before synchronization with ZMD (bnc#381594) - 2.16.13 Modified: trunk/online-update/VERSION trunk/online-update/package/yast2-online-update.changes trunk/online-update/src/online_update.ycp Modified: trunk/online-update/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/VERSION?rev=47187&r1=47186&r2=47187&view=diff ============================================================================== --- trunk/online-update/VERSION (original) +++ trunk/online-update/VERSION Wed Apr 30 09:32:25 2008 @@ -1 +1 @@ -2.16.12 +2.16.13 Modified: trunk/online-update/package/yast2-online-update.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/package/yast2-online-update.changes?rev=47187&r1=47186&r2=47187&view=diff ============================================================================== --- trunk/online-update/package/yast2-online-update.changes (original) +++ trunk/online-update/package/yast2-online-update.changes Wed Apr 30 09:32:25 2008 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Apr 24 13:44:10 CEST 2008 - jsuchome@suse.cz + +- Patch CD: ensure first CD is in drive before synchronization with + ZMD (bnc#381594) +- 2.16.13 + +------------------------------------------------------------------- Thu Apr 24 13:06:59 CEST 2008 - jsuchome@suse.cz - warn user if there are selected patches not for package management, Modified: trunk/online-update/src/online_update.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/src/online_update.ycp?rev=47187&r1=47186&r2=47187&view=diff ============================================================================== --- trunk/online-update/src/online_update.ycp (original) +++ trunk/online-update/src/online_update.ycp Wed Apr 30 09:32:25 2008 @@ -21,6 +21,7 @@ import "Popup"; import "Progress"; import "SourceManager"; + import "URL"; import "Wizard"; import "GetInstArgs"; @@ -186,6 +187,18 @@ break; } }); + if (add_new_source) + { + // now, ensure there's first CD in the drive (bnc#381594) + map parsed = URL::Parse (new_source["url"]:""); + if (parsed["scheme"]:"" == "cd") + { + // SourceProvideFile should use a callback to ask user for 1st media + if (Pkg::SourceProvideFile ( + OnlineUpdate::cd_source, 1, "/media.1/media") == nil) + add_new_source = false; + } + } if (add_new_source) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org