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

compose: Allow missing repos key and add --source-root flag #5136

Merged
merged 2 commits into from
Oct 24, 2024

Commits on Oct 23, 2024

  1. compose: Allow missing repos key

    In fedora-bootc, we want the API to set the Fedora version to use to
    be `--from quay.io/fedora/fedora:<N>`, from which the repo files are
    copied. So in that case, we just want the default repos that are enabled
    in that base image to be used. Support this use case in rpm-ostree by
    just defaulting to that when `repos` is not specified.
    
    Related: https://gitlab.com/fedora/bootc/tracker/-/issues/39
    jlebon committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    863b196 View commit details
    Browse the repository at this point in the history
  2. compose: add --source-root option

    In fedora-bootc, we want the API to set the Fedora version to use to be
    `--from quay.io/fedora/fedora:<N>`, from which the releasever is set.
    Support this use case in rpm-ostree by adding a new `--source-root`
    option to point libdnf at a different mount root to determine the
    releasever. (See also previous commit.)
    
    Related: https://gitlab.com/fedora/bootc/tracker/-/issues/39
    jlebon committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    06e2906 View commit details
    Browse the repository at this point in the history