Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap image - no package management updates needed? #1126

Merged

Conversation

praiskup
Copy link
Member

No description provided.

@praiskup
Copy link
Member Author

See also the fedora-kickstarts proposal.

@praiskup praiskup force-pushed the praiskup-bootstra-image-features branch 2 times, most recently from 1f366d3 to 267df1e Compare June 26, 2023 17:12
@@ -83,6 +83,7 @@ def setup_default_config_opts():
config_opts['use_bootstrap'] = True
config_opts['use_bootstrap_image'] = False
config_opts['bootstrap_image'] = 'fedora:latest'
config_opts['bootstrap_image_ready'] = False
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be documented in site-defaults.cfg too?

Copy link
Member Author

@praiskup praiskup Jun 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, thank you for pointing that out!

praiskup added 2 commits June 29, 2023 08:31
There's a new option config_opts['bootstrap_image_ready'] which, if set,
causes that Mock doesn't try to install any tooling into it (silently
expecting that 'dnf' and 'dnf builddep' works inside).

Turns out that e.g. the ubi8 and ubi9 images have the 'builddep' command
installed by default, therefore we can turn this option ON by default.

Fixes: rpm-software-management#1088
@praiskup praiskup force-pushed the praiskup-bootstra-image-features branch from 267df1e to 1b81b11 Compare June 29, 2023 06:48
@xsuchy xsuchy merged commit e7139e1 into rpm-software-management:main Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants