From f4bfceff82e8280a21944977a808f607f18bd41e Mon Sep 17 00:00:00 2001 From: Milan Lysonek Date: Thu, 8 Dec 2022 12:13:14 +0100 Subject: [PATCH] Build all profiles on all CentOS and CentOS Streams --- build-scripts/enable_derivatives.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-scripts/enable_derivatives.py b/build-scripts/enable_derivatives.py index 08d05b2cefb..2c82f8f7612 100755 --- a/build-scripts/enable_derivatives.py +++ b/build-scripts/enable_derivatives.py @@ -94,8 +94,8 @@ def main(): raise RuntimeError("No Benchmark found!") for namespace, benchmark in benchmarks: - if args[1] != "cs9" and args[1] != "centos8": - # In CentOS Stream 8 and 9, profiles are kept because they are systems + if args[1] != "cs9" and not args[1].startswith("centos"): + # In all CentOS and CentOS Streams, profiles are kept because they are systems # intended to test content that will get into RHEL ssg.build_derivatives.profile_handling(benchmark, namespace) if not ssg.build_derivatives.add_cpes(benchmark, namespace, mapping):