-
Notifications
You must be signed in to change notification settings - Fork 16
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
offline-updates: Allow specification of local ostree repo #439
Conversation
@mike-sul please take a look. I can't add reviewers to the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I defer the review to @mike-sul indeed.
Just recommending to use stdlib to a greater extent.
47696c0
to
0ab88cd
Compare
f7f56c0
to
2a65e9f
Compare
@doanac I think it is worth to include this into the short-coming release too. |
yes. we should include this |
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]>
When a target was manually added with `fioctl targets add`, it may reference an ostree hash that is not included the factory's repo. An offline bundle created in such condition would fail installation. Signed-off-by: Andre Detsch <[email protected]>
2a65e9f
to
7725750
Compare
I think it is ready for merge. |
Allowing the specification of a local ostree repo during offline bundle creation is required when a custom ostree repo is in use (
fiopush
+fioctl targets add
).This PR also add a warning message if the ostree repo does not contain the expected hash.