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

offline-updates: Allow specification of local ostree repo #439

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Nov 4, 2024

  1. offline-update: Add --ostree-repo-source option

    This option allows a local ostree repo to be specified as replacement
    for the factory ostree repo when building the offline bundle.
    This if required when a custom ostree repo was pushed with `fiopush` and
    a target was was manually added referencing a hash from this custom
    repo.
    
    Signed-off-by: Andre Detsch <[email protected]>
    detsch committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    6ea9558 View commit details
    Browse the repository at this point in the history
  2. offline-update: Log warning if ostree repo does not contain target hash

    When a target was manually added with `fioctl targets add`, it may
    reference a ostree hash that is not included the factory's repo.
    An offline bundle created in such condition will fail installation,
    so printing a warning is appropriate.
    
    Signed-off-by: Andre Detsch <[email protected]>
    detsch committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    0ab88cd View commit details
    Browse the repository at this point in the history