From: Michael Schroeder Date: Fri, 21 Sep 2018 13:31:30 +0000 (+0200) Subject: Fix share handling in repo2solv X-Git-Tag: 0.7.0~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cdefc1660f665a723acc24912fd2e210a970b6e;p=thirdparty%2Flibsolv.git Fix share handling in repo2solv We only search the uninternalized data for the repodata we're extending, so we need to internalize the data before adding new repodata areas. --- diff --git a/tools/repo2solv.c b/tools/repo2solv.c index 20d816cb..d5b33287 100644 --- a/tools/repo2solv.c +++ b/tools/repo2solv.c @@ -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);