]> 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>
Fri, 21 Sep 2018 13:31:30 +0000 (15:31 +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 20d816cb794e2d04d9d0f1f420544514a3c7740d..d5b3328754d80a6c3fb6dfd6c53d3e5abd112b83 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);