From c483d4a692c0d2040905feb7d2db117fb0ee911a Mon Sep 17 00:00:00 2001 From: David du Colombier Date: Wed, 19 Jun 2024 16:50:22 +0200 Subject: [PATCH] Keep profiles on Amazon Linux 2 --- build-scripts/enable_derivatives.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-scripts/enable_derivatives.py b/build-scripts/enable_derivatives.py index fc4a8e9782a..8c9039b2af0 100755 --- a/build-scripts/enable_derivatives.py +++ b/build-scripts/enable_derivatives.py @@ -116,9 +116,10 @@ def main(): raise RuntimeError("No Benchmark found!") for namespace, benchmark in benchmarks: - if args[1] not in ("cs9", "cs10") and not args[1].startswith("centos"): + if args[1] not in ("cs9", "cs10", "amzn2") 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 + # In Amazon Linux 2, profiles are kept because this is a system very similar to RHEL 7. ssg.build_derivatives.profile_handling(benchmark, namespace) if not ssg.build_derivatives.add_cpes(benchmark, namespace, mapping): raise RuntimeError(