Mailinglist Archive: yast-commit (98 mails)

< Previous Next >
[yast-commit] r67024 - in /trunk/pkg-bindings: package/yast2-pkg-bindings.changes src/Source_Download.cc
Author: lslezak
Date: Fri Dec 9 14:32:35 2011
New Revision: 67024

URL: http://svn.opensuse.org/viewcvs/yast?rev=67024&view=rev
Log:
- fixed downloading optional files - pass the optional flag to
libzypp to skip media change callback for optional files
(bnc#735340)

Modified:
trunk/pkg-bindings/package/yast2-pkg-bindings.changes
trunk/pkg-bindings/src/Source_Download.cc

Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/package/yast2-pkg-bindings.changes?rev=67024&r1=67023&r2=67024&view=diff
==============================================================================
--- trunk/pkg-bindings/package/yast2-pkg-bindings.changes (original)
+++ trunk/pkg-bindings/package/yast2-pkg-bindings.changes Fri Dec 9 14:32:35
2011
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Fri Dec 9 12:54:54 UTC 2011 - lslezak@xxxxxxx
+
+- fixed downloading optional files - pass the optional flag to
+ libzypp to skip media change callback for optional files
+ (bnc#735340)
+
+-------------------------------------------------------------------
Tue Dec 6 13:29:53 UTC 2011 - lslezak@xxxxxxx

- fixed reloading of repositories which have been removed during

Modified: trunk/pkg-bindings/src/Source_Download.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Source_Download.cc?rev=67024&r1=67023&r2=67024&view=diff
==============================================================================
--- trunk/pkg-bindings/src/Source_Download.cc (original)
+++ trunk/pkg-bindings/src/Source_Download.cc Fri Dec 9 14:32:35 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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages