]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Fix share handling in repo2solv
authorMichael Schroeder <mls@suse.de>
Fri, 21 Sep 2018 13:31:30 +0000 (15:31 +0200)
committerMichael Schroeder <mls@suse.de>
Thu, 27 Jun 2019 14:14:18 +0000 (16:14 +0200)
We only search the uninternalized data for the repodata we're
extending, so we need to internalize the data before adding
new repodata areas.

tools/repo2solv.c

index e055e408007714b7fff8e3e6f7189552ffff1b7c..b297f248aecc573efe9d151fde1c43fed361816b 100644 (file)
@@ -404,7 +404,7 @@ read_susetags_repo(Repo *repo, const char *dir)
   filename = susetags_find(files, nfiles, "packages");
   if (filename && (fp = susetags_open(ddir, filename, &tmp, 1)) != 0)
     {
-      if (repo_add_susetags(repo, fp, defvendor, 0, REPO_NO_INTERNALIZE|SUSETAGS_RECORD_SHARES))
+      if (repo_add_susetags(repo, fp, defvendor, 0, SUSETAGS_RECORD_SHARES))
        {
          fprintf(stderr, "%s: %s\n", tmp, pool_errstr(pool));
          exit(1);