From: Michael Tremer Date: Tue, 4 Feb 2025 15:51:20 +0000 (+0000) Subject: repo: Ignore any unsupported metadata X-Git-Tag: 0.9.30~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5b2f9f96c7520a8bfb0417779b4b5be2eb3daf1;p=pakfire.git repo: Ignore any unsupported metadata Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/repo.c b/src/pakfire/repo.c index f71ed71a..e8a8284d 100644 --- a/src/pakfire/repo.c +++ b/src/pakfire/repo.c @@ -1080,8 +1080,9 @@ static int pakfire_repo_read_metadata(struct pakfire_repo* repo, const char* pat r = pakfire_repo_parse_repomd(repo, &repo->appdata->repomd, json); if (r < 0) { switch (-r) { - // Ignore if the file on disk was malformed + // Ignore if the file on disk was malformed or is not supported case EBADMSG: + case ENOTSUP: r = 0; goto ERROR;