]> git.ipfire.org Git - pakfire.git/commitdiff
repo: Import any data into the pool
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 10 May 2022 15:40:49 +0000 (15:40 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 10 May 2022 15:40:49 +0000 (15:40 +0000)
We cannot keep it separate because solving won't work properly any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/repo.c

index 90e4911e10720a2237c4ebd69429b5aeae38c6d4..ba77be77001b65c3546863997d7037d77fd2cb3d 100644 (file)
@@ -609,7 +609,7 @@ int pakfire_repo_clear(struct pakfire_repo* repo) {
 
        // Allocate repodata
        repo->appdata->repodata = repo_add_repodata(repo->repo,
-               REPO_EXTEND_SOLVABLES|REPO_LOCALPOOL|REPO_NO_INTERNALIZE|REPO_NO_LOCATION);
+               REPO_EXTEND_SOLVABLES|REPO_NO_INTERNALIZE|REPO_NO_LOCATION);
        if (!repo->appdata->repodata) {
                ERROR(repo->pakfire, "Could not allocate repodata\n");
                return 1;