-
Notifications
You must be signed in to change notification settings - Fork 107
/
manifest-rhel-9.6.yaml
78 lines (66 loc) · 2.32 KB
/
manifest-rhel-9.6.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Manifest for RHCOS based on RHEL 9.6
rojig:
license: MIT
name: rhcos
summary: RHEL CoreOS 9.6
variables:
osversion: "rhel-9.6"
# Include manifests common to all RHEL and CentOS Stream versions
include:
- common.yaml
# XXX todo: swap to rhel 9.6 repos when beta is GA
# CentOS Stream 9 repos for now
repos:
- c9s-baseos
- c9s-appstream
# Eventually we should try to build these images as part of the RHEL composes.
# In that case, the versioning should instead be exactly the same as the pungi
# compose ID.
automatic-version-prefix: "9.6.<date:%Y%m%d%H%M>"
# This ensures we're semver-compatible which OpenShift wants
automatic-version-suffix: "-"
mutate-os-release: "9.6"
# XXX todo: swap to rhel 9.6 repos when beta is GA
repo-packages:
- repo: c9s-baseos
packages:
# We include the generic centos release package and fake the red hat os-release
# info in a post-process script
# XXX todo: swap to redhat-release once 9.6 beta is GA
- centos-stream-release
# XXX remove once swapping to rhel 9.6 beta content
# Fake out RHEL version in the os-release while waiting for RHEL-9.6 release.
postprocess:
- |
#!/usr/bin/env bash
set -xeo pipefail
(
. /etc/os-release
cat > /usr/lib/os-release <<EOF
NAME="Red Hat Enterprise Linux CoreOS"
VERSION="${OSTREE_VERSION} (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION="${OSTREE_VERSION}"
VARIANT="CoreOS"
VARIANT_ID=coreos
VERSION_ID="9.6"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Red Hat Enterprise Linux CoreOS ${OSTREE_VERSION} (Plow)"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9"
BUG_REPORT_URL="https://issues.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_BUGZILLA_PRODUCT_VERSION=9.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.6"
OSTREE_VERSION="${OSTREE_VERSION}"
EOF
)
rm -f /etc/system-release /etc/os-release /etc/redhat-release
ln -s /usr/lib/os-release /etc/os-release
ln -s /usr/lib/os-release /etc/system-release
ln -s /usr/lib/os-release /etc/redhat-release