]> 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>
Thu, 27 Jun 2019 14:14:12 +0000 (16:14 +0200)
We need to record the share data, otherwise we miss the share
information when extending the packages.

tools/susetags2solv.c

index 19278dbf780151ced82192e5fc67c516fb0bacfa..ced614bb4c155cda2135c8c257b6b88f413517a7 100644 (file)
@@ -197,7 +197,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);