Enable package cache during commit.
authorMichael Andres <ma@suse.de>
Wed, 19 Sep 2007 12:23:17 +0000 (12:23 +0000)
committerMichael Andres <ma@suse.de>
Wed, 19 Sep 2007 12:23:17 +0000 (12:23 +0000)
VERSION.cmake
package/libzypp.changes
zypp/target/CommitPackageCacheReadAhead.cc

index 28ba8c8..ddd0c65 100644 (file)
@@ -47,4 +47,4 @@
 SET(LIBZYPP_MAJOR "3")
 SET(LIBZYPP_MINOR "24")
 SET(LIBZYPP_COMPATMINOR "24")
-SET(LIBZYPP_PATCH "2")
+SET(LIBZYPP_PATCH "3")
index b0b4938..eea8489 100644 (file)
@@ -1,9 +1,16 @@
 -------------------------------------------------------------------
+Wed Sep 19 14:19:49 CEST 2007 - ma@suse.de
+
+- Enable package cache during commit. (#326249)
+- version 3.24.2
+- revision 7309
+
+-------------------------------------------------------------------
 Tue Sep 18 14:01:02 CEST 2007 - schubi@suse.de
 
 - Do not regarding requirements for packages which will be deleted in the
   same solver run. Bug 310618
-- r 7292 
+- r 7292
 - version 3.24.2
 
 -------------------------------------------------------------------
index 0e0b400..b71820c 100644 (file)
@@ -66,10 +66,10 @@ namespace zypp
     {
       if ( pi->mediaNr() == 0 ) // no media access at all
         return false;
-      //std::string scheme( pi->source().url().getScheme() );
-      //return ( scheme == "dvd" || scheme == "cd" );
-#warning "FIX CommitPackageCacheReadAhead::onInteractiveMedia"
-      return false;
+      if ( pi->repository().info().baseUrlsEmpty() )
+        return false; // no Url - should actually not happen
+      std::string scheme( pi->repository().info().baseUrlsBegin()->getScheme() );
+      return ( scheme == "dvd" || scheme == "cd" );
     }
 
     ///////////////////////////////////////////////////////////////////