-
Notifications
You must be signed in to change notification settings - Fork 119
reinstall: Ensure podman is installed #1105
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
Conversation
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, nice work. Thank you!
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'm OK with this as is and my comments can be followups if preferred
70bc91b
to
b66d5b1
Compare
If we skip an internal prompt of "Would you like to install podman using your package manager?", the experience is a bit jarring: straight.to.dnf.mp4What are your thoughts? |
Agree it is. But I'm uncertain if we really need to ask them to do this. We already warn them the system will be reinstalled right? Under what scenario are they going to say "no" to installing podman? So I'm thinking after that after the "system will be reinstalled" prompt we could just run this. |
Warnings should always appear, so we should set the max level to WARN. Signed-off-by: Omer Tuchfeld <[email protected]>
`run` hides stderr until the command fails, which is not what we want for all current users of `run_with_cmd_context` - it's currently used by long running processes where we want the users to see all the output live. Signed-off-by: Omer Tuchfeld <[email protected]>
Fixes bootc-dev#1104 Make the podman dependency of system-reinstall-bootc optional * Change the spec file to recommend podman instead of requiring it (this will make it more palatable to have this package included in distros by default) * Now that podman is only recommended, the system-reinstall-bootc binary must check whether podman is installed and try to install it. This is done by launching the install-podman script that is included with the system-reinstall-bootc RPM. The exact location where system-reinstall-bootc will look for this script is defined in the build environment variable `SYSTEM_REINSTALL_BOOTC_INSTALL_PODMAN_PATH` Signed-off-by: Omer Tuchfeld <[email protected]>
Following your comment here is the latest experience: exp.mp4 |
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.
The demos and flowcharts are really helpful for review BTW, nice work!
CI failure is unrelated, see #1109 |
See commit messages
Fixes #1104