Skip to content

Commit

Permalink
Keep profiles on Amazon Linux 2
Browse files Browse the repository at this point in the history
  • Loading branch information
0intro committed Jun 24, 2024
1 parent 3454e12 commit c483d4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-scripts/enable_derivatives.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c483d4a

Please sign in to comment.