Skip to content

Commit

Permalink
Enable bootstrap container for CentOS Stream 10
Browse files Browse the repository at this point in the history
Since CentOS Stream 10 hasn't been released yet, the container image
exists but is using the tag stream10-development instead of stream10.
At some point (probably the release announcement) it will start using
the stream10 tag.  This image is "ready" (i.e. python3-dnf-plugins-core
is pre-installed).

Relates: #1442
  • Loading branch information
carlwgeorge committed Sep 16, 2024
1 parent cf1cb13 commit 225a633
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mock-core-configs/etc/mock/templates/centos-stream-10.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ config_opts['package_manager'] = 'dnf'
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['description'] = 'CentOS Stream 10'

config_opts['use_bootstrap_image'] = False
config_opts['bootstrap_image'] = 'quay.io/centos/centos:stream10'
config_opts['bootstrap_image'] = 'quay.io/centos/centos:stream10-development'
config_opts['bootstrap_image_ready'] = True

config_opts['dnf.conf'] = """
[main]
Expand Down
8 changes: 8 additions & 0 deletions releng/release-notes-next/c10s-bootstrap-ready.config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
The CentOS Stream 10 configuration has been updated to use
`quay.io/centos/centos:stream10-development` as its bootstrap image. Since
this image [already has the `python3-dnf-plugins-core` package
installed](https://issues.redhat.com/browse/CS-2506), the configuration is also
updated to set `bootstrap_image_ready = True`. This means the image can be
used "as is" to bootstrap the DNF stack without installing any additional
packages into the prepared bootstrap chroot, significantly speeding up
bootstrap preparation.

0 comments on commit 225a633

Please sign in to comment.