Skip to content

Move blockdev code from bootupd into blockdev crate#2042

Merged
cgwalters merged 2 commits intobootc-dev:mainfrom
ckyrouac:blockdev-migration
Mar 5, 2026
Merged

Move blockdev code from bootupd into blockdev crate#2042
cgwalters merged 2 commits intobootc-dev:mainfrom
ckyrouac:blockdev-migration

Conversation

@ckyrouac
Copy link
Collaborator

@ckyrouac ckyrouac commented Mar 4, 2026

Consolidating the blockdev code that was scattered across bootupd and bootc into the blockdev crate. This is prep and cleanup for multi device parent support in bootupd. This needs to be merged before the bootupd changes can be merged. Then, after the multi device support changes to bootupd are merged, I'll open another PR against bootc to integrate with the multi device bootupd changes.

@ckyrouac ckyrouac requested a review from cgwalters March 4, 2026 18:25
@bootc-bot bootc-bot bot requested a review from gursewak1997 March 4, 2026 18:25
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

This pull request refactors block device handling logic into a dedicated blockdev crate, which is a good step towards better code organization and prepares for future multi-device support. The changes primarily involve moving code and renaming functions for improved clarity. My review includes a couple of suggestions to make newly added functions more concise and idiomatic by leveraging Rust's iterator capabilities.

@ckyrouac ckyrouac force-pushed the blockdev-migration branch from d04faa0 to 9ff49ee Compare March 4, 2026 19:03
@github-actions github-actions bot added the area/install Issues related to `bootc install` label Mar 4, 2026
@ckyrouac ckyrouac force-pushed the blockdev-migration branch from 9ff49ee to ad0b88c Compare March 4, 2026 19:11
ckyrouac added 2 commits March 4, 2026 19:56
Migrating all the blockdev code that is in bootupd into the blockdev
crate to simplify its usage and keep it colocated.

Signed-off-by: ckyrouac <ckyrouac@redhat.com>
This is prep for supporting multiple parent devices.

Assisted-by: Claude Code (Opus 4)
Signed-off-by: ckyrouac <ckyrouac@redhat.com>
@ckyrouac ckyrouac force-pushed the blockdev-migration branch from ad0b88c to 01280ad Compare March 5, 2026 00:56
@cgwalters cgwalters merged commit df3e863 into bootc-dev:main Mar 5, 2026
46 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