]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Fix shared handling for 'susetags2solv -d'
authorMichael Schroeder <mls@suse.de>
Fri, 21 Sep 2018 13:29:18 +0000 (15:29 +0200)
committerMichael Schroeder <mls@suse.de>
Fri, 21 Sep 2018 13:29:18 +0000 (15:29 +0200)
We need to record the share data, otherwise we miss the share
information when extending the packages.

tools/susetags2solv.c

index 8963c81517b8f58f08e53042edb99b0f8fdaec60..f7544dc587274b6efbf5ba994f05ec0331903e95 100644 (file)
@@ -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);