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

hermetic: do not install buildroot via DNF #1524

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions mock/py/mockbuild/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,10 @@ def process_hermetic_build_config(cmdline_opts, config_opts):
# with the same image.
config_opts["bootstrap_image_assert_digest"] = data["bootstrap"]["image_digest"]

# It doesn't make sense to fallback to `dnf install dnf --installroot ...`,
# we simply don't have DNF stack pre-downloaded in offline_local_repository.
config_opts["bootstrap_image_fallback"] = False


@traceLog()
def nice_root_alias_error(name, alias_name, arch, no_configs, log):
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
The [hermetic mode](feature-hermetic-builds) no longer fallbacks to a manual
bootstrap installation using the hosts's DNF stack; it doesn't make sense
because we don't have the bootstrap packages pre-downloaded in the local
"offline" repository. Fixes [issue#1522][].
Loading