Call repo2solv -R (recursive scan) for plaindir repos.
authorMichael Andres <ma@suse.de>
Wed, 26 Nov 2008 16:21:48 +0000 (16:21 +0000)
committerMichael Andres <ma@suse.de>
Wed, 26 Nov 2008 16:21:48 +0000 (16:21 +0000)
package/libzypp.changes
zypp/RepoManager.cc

index c0f25a8..0129769 100644 (file)
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Wed Nov 26 17:18:00 CET 2008 - ma@suse.de
+
+- Call 'repo2solv -R' (recursive scan) for plaindir repos. (bnc #443350)
+- revision 11810
+
+-------------------------------------------------------------------
 Wed Nov 26 17:09:12 CET 2008 - dmacvicar@suse.de
 
 - SHA1SUMS.key is not imported by zypp as known key (bnc #446188)
index 26d468a..70a0ecc 100644 (file)
@@ -1027,8 +1027,12 @@ namespace zypp
         cmd.push_back( solvfile.asString() );
 
         if ( repokind == RepoType::RPMPLAINDIR )
+        {
           // FIXME this does only work form dir: URLs
           cmd.push_back( info.baseUrlsBegin()->getPathName() );
+          // recusive for plaindir
+          cmd.push_back( "-R" );
+        }
         else
           cmd.push_back( rawpath.asString() );