-
Notifications
You must be signed in to change notification settings - Fork 86
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
cli: Add build-commit #217
Conversation
mm I think I need to use the ostree-ext crate directly instead of just calling ostree. |
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.
LGTM
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.
@jmarrero do you want to convert to PR?
So one big thing we could do here in general is a lot of what happens today in the rpm-ostree postprocessing phase; for example, a big one is handling Another interesting one is kernel handling; erroring out if you have multiple kernels, cleaning up the duplicate content the Fedora kernel packages drop in However...lately I'm also thinking just for maximum compatibility we should start to do that stuff on the client too automatically. |
Did not get it out of Draft because of background chats with Colin, sorry for not updating sooner. I think we wanted to make this bootc native code instead of calling back to ostree to reduce the dep on ostree and on top of that, the logic with /var changes needs to be revised. What do you all think about:
|
Or maybe what would be best is something like a generalized "hooks" framework, i.e. we have
or so? |
I guess that would work, but we would need also to scan the dropins and skip anything calling binaries not present on the system? Or just fail with a warning? Because, with your example we would fail the build on an image that does not have rpm-ostree. |
a970031
to
4cfce9c
Compare
Closes #216