From: Michael Schroeder Date: Fri, 21 Sep 2018 13:29:18 +0000 (+0200) Subject: Fix shared handling for 'susetags2solv -d' X-Git-Tag: 0.7.0~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d337e3117b3001317dfe27ecabfe5c02383cda12;p=thirdparty%2Flibsolv.git Fix shared handling for 'susetags2solv -d' We need to record the share data, otherwise we miss the share information when extending the packages. --- diff --git a/tools/susetags2solv.c b/tools/susetags2solv.c index 8963c815..f7544dc5 100644 --- a/tools/susetags2solv.c +++ b/tools/susetags2solv.c @@ -173,7 +173,7 @@ main(int argc, char **argv) perror(fn); exit(1); } - if (repo_add_susetags(repo, fp, defvendor, 0, flags | REPO_REUSE_REPODATA | REPO_NO_INTERNALIZE)) + if (repo_add_susetags(repo, fp, defvendor, 0, flags | REPO_REUSE_REPODATA | REPO_NO_INTERNALIZE | SUSETAGS_RECORD_SHARES)) { fprintf(stderr, "susetags2solv: %s: %s\n", fnp, pool_errstr(pool)); exit(1);