From 5d0241c5df985910eb2a4397ce3bdf3f4db2fe95 Mon Sep 17 00:00:00 2001 From: "Petr \"Stone\" Hracek" Date: Fri, 10 Jan 2025 12:37:59 +0100 Subject: [PATCH] Add support for generating sources for RHEL10. Added distconf/rhel-10-x86_64 configuration file. Add rhel10 to tests/minimal-dockerfile files Signed-off-by: Petr "Stone" Hracek --- NEWS | 6 ++++++ distgen/distconf/rhel-10-x86_64.yaml | 7 +++++++ tests/minimal-dockerfile/distros | 1 + tests/minimal-dockerfile/test.exp | 9 +++++++++ 4 files changed, 23 insertions(+) create mode 100644 distgen/distconf/rhel-10-x86_64.yaml diff --git a/NEWS b/NEWS index f4caa0b..9a93f5e 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,11 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +New in 2.1: + +* Added support for RHEL 10 + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + New in 2.0: * Complete rewrite of buildsystem to use pyproject.toml diff --git a/distgen/distconf/rhel-10-x86_64.yaml b/distgen/distconf/rhel-10-x86_64.yaml new file mode 100644 index 0000000..73abd84 --- /dev/null +++ b/distgen/distconf/rhel-10-x86_64.yaml @@ -0,0 +1,7 @@ +extends: "rhel-7-x86_64.yaml" + +os: + version: 10 + +docker: + from: rhel10 diff --git a/tests/minimal-dockerfile/distros b/tests/minimal-dockerfile/distros index b4211c0..3a9fae2 100644 --- a/tests/minimal-dockerfile/distros +++ b/tests/minimal-dockerfile/distros @@ -3,3 +3,4 @@ fedora-22-x86_64 rhel-7-x86_64 rhel-8-x86_64 rhel-9-x86_64 +rhel-10-x86_64 diff --git a/tests/minimal-dockerfile/test.exp b/tests/minimal-dockerfile/test.exp index 8a1e681..58ffbb8 100644 --- a/tests/minimal-dockerfile/test.exp +++ b/tests/minimal-dockerfile/test.exp @@ -46,3 +46,12 @@ MAINTAINER unknown ENV container="docker" CMD ["container-start"] + +=== rhel-10-x86_64 === + +FROM registry.access.redhat.com/rhel10 +MAINTAINER unknown + +ENV container="docker" + +CMD ["container-start"]