rpmdb2solv: set repo to installed so that no autoproducts are generated
authorMichael Schroeder <mls@suse.de>
Mon, 27 Jan 2014 15:43:59 +0000 (16:43 +0100)
committerMichael Schroeder <mls@suse.de>
Mon, 27 Jan 2014 15:43:59 +0000 (16:43 +0100)
tools/rpmdb2solv.c

index ef934ac..72e95ad 100644 (file)
@@ -163,6 +163,7 @@ main(int argc, char **argv)
     pool_set_rootdir(pool, root);
 
   repo = repo_create(pool, "installed");
+  pool_set_installed(pool, repo);
   data = repo_add_repodata(repo, 0);
 
   if (!nopacks)