Skip to content

Conversation

@cgwalters
Copy link
Collaborator

This one is important.

This one is important.

Signed-off-by: Colin Walters <[email protected]>
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request adds a new documentation file for bootloaders and updates the summary. The content seems informative and well-structured. Here are a few suggestions for improvement.

Merge Readiness

The pull request introduces a valuable documentation file and updates the summary. The suggestions provided aim to enhance clarity and provide additional context for users. I am unable to approve this pull request, and recommend that others review and approve this code before merging. If the author addresses the suggestions, the pull request will be in good shape to be merged.


When you run `bootc install`, it invokes `bootupctl backend install` to install the bootloader to the target disk or filesystem. The specific bootloader configuration is determined by the container image and the target system's hardware.

Currently, `bootc` only runs `bootupd` during the installation process. It does **not** automatically run `bootupctl update` to update the bootloader after installation. This means that bootloader updates must be handled separately, typically by the user or an automated system update process.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Consider adding a brief explanation of why bootc doesn't automatically run bootupctl update. This could help users understand the design decision and potential implications.

For example, you could add something like: "This is to provide more control to the user and avoid unexpected updates during system operation."

Suggested change
Currently, `bootc` only runs `bootupd` during the installation process. It does **not** automatically run `bootupctl update` to update the bootloader after installation. This means that bootloader updates must be handled separately, typically by the user or an automated system update process.
Currently, `bootc` only runs `bootupd` during the installation process. It does **not** automatically run `bootupctl update` to update the bootloader after installation. This is to provide more control to the user and avoid unexpected updates during system operation. This means that bootloader updates must be handled separately, typically by the user or an automated system update process.


Currently, `bootc` only runs `bootupd` during the installation process. It does **not** automatically run `bootupctl update` to update the bootloader after installation. This means that bootloader updates must be handled separately, typically by the user or an automated system update process.

For s390x, bootc uses `zipl` instead of `bootupd`. No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

It might be helpful to briefly mention why zipl is used for s390x instead of bootupd. Is it due to architectural differences or limitations?

Suggested change
For s390x, bootc uses `zipl` instead of `bootupd`.
For s390x, bootc uses `zipl` instead of `bootupd` due to architectural differences in how bootloaders are handled on this platform.

@cgwalters cgwalters merged commit 726041f into bootc-dev:main Jun 6, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

control/skip-ci Do not run expensive CI on this job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants