Skip to content

Commit

Permalink
Add support for generating sources for RHEL10.
Browse files Browse the repository at this point in the history
Added distconf/rhel-10-x86_64 configuration file.
Add rhel10 to tests/minimal-dockerfile files

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
  • Loading branch information
phracek committed Jan 10, 2025
1 parent 9512f35 commit 5d0241c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 7 additions & 0 deletions distgen/distconf/rhel-10-x86_64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
extends: "rhel-7-x86_64.yaml"

os:
version: 10

docker:
from: rhel10
1 change: 1 addition & 0 deletions tests/minimal-dockerfile/distros
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ fedora-22-x86_64
rhel-7-x86_64
rhel-8-x86_64
rhel-9-x86_64
rhel-10-x86_64
9 changes: 9 additions & 0 deletions tests/minimal-dockerfile/test.exp
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,12 @@ MAINTAINER unknown <unknown@unknown.com>
ENV container="docker"

CMD ["container-start"]

=== rhel-10-x86_64 ===

FROM registry.access.redhat.com/rhel10
MAINTAINER unknown <unknown@unknown.com>

ENV container="docker"

CMD ["container-start"]

0 comments on commit 5d0241c

Please sign in to comment.