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

install/blockdev: Break cyclic build dependency #1048

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

cgwalters
Copy link
Collaborator

The install code and the blockdev code call each other. Clean up blockdev to only use bootc-utils.
Prep for splitting out the blockdev stuff into at least a separate internal crate; ref
coreos/bootupd#820

@github-actions github-actions bot added the area/install Issues related to `bootc install` label Jan 20, 2025
The install code and the blockdev code call each other.
Clean up blockdev to only use `bootc-utils`.
Prep for splitting out the blockdev stuff into at least a
separate internal crate; ref
coreos/bootupd#820

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

@HuijingHei HuijingHei left a comment

Choose a reason for hiding this comment

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

Overall LGTM, just one minor question, is it necessary to remove all #[cfg(feature = "install-to-disk")] in blockdev.rs ?

@cgwalters
Copy link
Collaborator Author

Overall LGTM, just one minor question, is it necessary to remove all #[cfg(feature = "install-to-disk")] in blockdev.rs ?

It will be in the future when splitting this into a separate crate yes. At the moment those suppress some unused variable warnings.

@cgwalters cgwalters merged commit a7c5788 into containers:main Jan 21, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/install Issues related to `bootc install`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants