[yast-commit] r67021 - in /branches/SuSE-Code-11-SP2-Branch/pkg-bindings: VERSION package/yast2-pkg-bindings.changes src/Source_Download.cc
Author: lslezak Date: Fri Dec 9 14:24:18 2011 New Revision: 67021 URL: http://svn.opensuse.org/viewcvs/yast?rev=67021&view=rev Log: - fixed downloading optional files - pass the optional flag to libzypp to skip media change callback for optional files (bnc#735340) - 2.17.55 Modified: branches/SuSE-Code-11-SP2-Branch/pkg-bindings/VERSION branches/SuSE-Code-11-SP2-Branch/pkg-bindings/package/yast2-pkg-bindings.changes branches/SuSE-Code-11-SP2-Branch/pkg-bindings/src/Source_Download.cc Modified: branches/SuSE-Code-11-SP2-Branch/pkg-bindings/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/pkg-bindings/VERSION?rev=67021&r1=67020&r2=67021&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/pkg-bindings/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/pkg-bindings/VERSION Fri Dec 9 14:24:18 2011 @@ -1 +1 @@ -2.17.54 +2.17.55 Modified: branches/SuSE-Code-11-SP2-Branch/pkg-bindings/package/yast2-pkg-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/pkg-bindings/package/yast2-pkg-bindings.changes?rev=67021&r1=67020&r2=67021&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/pkg-bindings/package/yast2-pkg-bindings.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/pkg-bindings/package/yast2-pkg-bindings.changes Fri Dec 9 14:24:18 2011 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri Dec 9 12:54:54 UTC 2011 - lslezak@suse.cz + +- fixed downloading optional files - pass the optional flag to + libzypp to skip media change callback for optional files + (bnc#735340) +- 2.17.55 + +------------------------------------------------------------------- Tue Dec 6 13:29:53 UTC 2011 - lslezak@suse.cz - fixed reloading of repositories which have been removed during Modified: branches/SuSE-Code-11-SP2-Branch/pkg-bindings/src/Source_Download.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/pkg-bindings/src/Source_Download.cc?rev=67021&r1=67020&r2=67021&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/pkg-bindings/src/Source_Download.cc (original) +++ branches/SuSE-Code-11-SP2-Branch/pkg-bindings/src/Source_Download.cc Fri Dec 9 14:24:18 2011 @@ -96,8 +96,7 @@ } zypp::OnMediaLocation mloc(media_path, mid->value()); - // the file is never optional for zypp (it cannot tell whether an optional file failed) - mloc.setOptional(false); + mloc.setOptional(optional); // create the tmpdir in <_download_area>/var/tmp zypp::filesystem::TmpDir tmpdir(_download_area / zypp::filesystem::TmpDir::defaultLocation()); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn2.opensuse.org