Commit 634b306
committed
ART: Use rpm-ostree --repo with YUM_REPO_NAMES for extensions
Similar to the node image build (PR openshift#1935), modify the extensions build
to use --repo="${YUM_REPO_NAMES}" instead of relying on hardcoded repo
names in the extensions yaml files.
Changes:
- extensions/Containerfile: Add YUM_REPO_NAMES build arg
- extensions/build.sh: Mount repos, strip repos: sections from yaml,
use --repo flag with rpm-ostree compose extensions
- extensions/build-args-*.conf: Define YUM_REPO_NAMES for each RHEL version
This allows ART to inject the correct repo names (e.g., rhel-9-baseos-rpms)
instead of the extensions yaml files using version-specific names
(e.g., rhel-9.8-baseos) that don't match what ART provides.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED1 parent d75a447 commit 634b306
4 files changed
Lines changed: 35 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
13 | | - | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
20 | 44 | | |
| 45 | + | |
21 | 46 | | |
0 commit comments