From 111cdbecd88dda5659f5095cd342f051565f57e2 Mon Sep 17 00:00:00 2001 From: Michael Armijo Date: Mon, 25 Sep 2023 16:34:11 -0400 Subject: [PATCH] Add RHEL 9.4 Variant Add manifest, image, and extensions yaml files to support a new RHEL 9.4 Variant. --- extensions-rhel-9.4.yaml | 1 + image-rhel-9.4.yaml | 1 + manifest-rhel-9.4.yaml | 140 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 142 insertions(+) create mode 120000 extensions-rhel-9.4.yaml create mode 120000 image-rhel-9.4.yaml create mode 100644 manifest-rhel-9.4.yaml diff --git a/extensions-rhel-9.4.yaml b/extensions-rhel-9.4.yaml new file mode 120000 index 00000000..91cb33f6 --- /dev/null +++ b/extensions-rhel-9.4.yaml @@ -0,0 +1 @@ +extensions-rhel-coreos-9.yaml \ No newline at end of file diff --git a/image-rhel-9.4.yaml b/image-rhel-9.4.yaml new file mode 120000 index 00000000..81b4da81 --- /dev/null +++ b/image-rhel-9.4.yaml @@ -0,0 +1 @@ +image-rhel-coreos-9.yaml \ No newline at end of file diff --git a/manifest-rhel-9.4.yaml b/manifest-rhel-9.4.yaml new file mode 100644 index 00000000..05a9056c --- /dev/null +++ b/manifest-rhel-9.4.yaml @@ -0,0 +1,140 @@ +# Manifest for RHCOS based on RHEL 9.4 + +rojig: + license: MIT + name: rhcos + summary: OpenShift 4 + +variables: + osversion: "rhel-9.4" + +# Include manifests common to all RHEL and CentOS Stream versions and manifest +# common to RHEL 9 & C9S variants +include: + - common.yaml + - packages-openshift.yaml + +# Starting from here, everything should be specific to RHCOS based on RHEL 9.4 content + +# CentOS Stream 9 repos + internal repos for now +repos: + - baseos + - appstream + - rhel-9.2-fast-datapath + # Include RHCOS 9 repo for oc, hyperkube + - rhel-9.2-server-ose-4.15 + +# We include hours/minutes to avoid version number reuse +automatic-version-prefix: "415.94." +# This ensures we're semver-compatible which OpenShift wants +automatic-version-suffix: "-" +# Keep this is sync with the version in postprocess +mutate-os-release: "4.15" + +postprocess: + - | + #!/usr/bin/env bash + set -xeo pipefail + + # Tweak /usr/lib/os-release + grep -v "OSTREE_VERSION" /etc/os-release > /usr/lib/os-release.stream + OCP_RELEASE="4.15" + ( + . /etc/os-release + cat > /usr/lib/os-release < /usr/lib/system-release-cpe < /usr/lib/system-release < /usr/lib/issue < /etc/motd <