summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-01-27 16:43:59 +0100
committerMichael Schroeder <mls@suse.de>2014-01-27 16:43:59 +0100
commite47af19566c8138568d038562a7fff41e541cb5e (patch)
treef24534401f6f01c279e500b75b8ce45264e47361 /tools
parentc4bd4f9d50fc2a0031e97a683871cd16deab722c (diff)
downloadlibsolv-e47af19566c8138568d038562a7fff41e541cb5e.tar.gz
libsolv-e47af19566c8138568d038562a7fff41e541cb5e.tar.bz2
libsolv-e47af19566c8138568d038562a7fff41e541cb5e.zip
rpmdb2solv: set repo to installed so that no autoproducts are generated
Diffstat (limited to 'tools')
-rw-r--r--tools/rpmdb2solv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/rpmdb2solv.c b/tools/rpmdb2solv.c
index ef934ac..72e95ad 100644
--- a/tools/rpmdb2solv.c
+++ b/tools/rpmdb2solv.c
@@ -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)