From 42520ab42aa1a680b070b72578db570b9fdc85d5 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Thu, 28 Jul 2022 15:12:27 -0700 Subject: [PATCH] put excludes at the top --- extra.cfg | 59 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/extra.cfg b/extra.cfg index aacec79..1739c9a 100644 --- a/extra.cfg +++ b/extra.cfg @@ -2,6 +2,36 @@ # This configuration file contains extra packages that we # add to our repos. NO extra entry allowed in default repositories. # Usually for "plus" or any other value-add repo + +# s390x, ppc64le, x86_64 are never considered altarch. s390x does not have +# rpmfusion packages for obvious reasons. elrepo does not exist for +# aarch64 yet, but will. aarch64 is a blend of altarch and primary. +exclude_filter { + repo_match: "^extras$" + arch { + key: "s390x" + glob_match: "rocky-release-rpi" + glob_match: "rocky-release-elrepo" + glob_match: "rocky-release-altarch" + glob_match: "rocky-release-cloud" + glob_match: "rpmfusion-free-release" + glob_match: "elrepo-release" + } + arch { + key: "ppc64le" + glob_match: "rocky-release-rpi" + glob_match: "rocky-release-elrepo" + glob_match: "rocky-release-altarch" + glob_match: "rocky-release-cloud" + glob_match: "elrepo-release" + } + arch { + key: "x86_64" + glob_match: "rocky-release-rpi" + glob_match: "rocky-release-altarch" + } +} + package { name: "openldap" type: PACKAGE_TYPE_NORMAL_FORK @@ -92,31 +122,4 @@ package { } } -# s390x, ppc64le, x86_64 are never considered altarch. s390x does not have -# rpmfusion packages for obvious reasons. elrepo does not exist for -# aarch64 yet, but will. aarch64 is a blend of altarch and primary. -exclude_filter { - repo_match: "^extras$" - arch { - key: "s390x" - glob_match: "rocky-release-rpi" - glob_match: "rocky-release-elrepo" - glob_match: "rocky-release-altarch" - glob_match: "rocky-release-cloud" - glob_match: "rpmfusion-free-release" - glob_match: "elrepo-release" - } - arch { - key: "ppc64le" - glob_match: "rocky-release-rpi" - glob_match: "rocky-release-elrepo" - glob_match: "rocky-release-altarch" - glob_match: "rocky-release-cloud" - glob_match: "elrepo-release" - } - arch { - key: "x86_64" - glob_match: "rocky-release-rpi" - glob_match: "rocky-release-altarch" - } -} +