Skip to content

install/baseline: use sfdisk, not lsblk - #698

Merged
jeckersb merged 2 commits into
bootc-dev:mainfrom
cgwalters:baseline-sfdisk
Jul 17, 2024
Merged

jeckersb merged 2 commits into
bootc-dev:mainfrom
cgwalters:baseline-sfdisk

Conversation

@cgwalters

Copy link
Copy Markdown
Member

I think this may also help with the install flake we've been
seeing where we somehow get the partitions mixed up.

  • Use sfdisk in the baseline install because it's what
    we're switching to using anyways later on
  • Add some verification at least for the root and EFI partitions
    that we read back the expected type

@jeckersb jeckersb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM, just a few nits that clippy pointed out

Comment thread lib/src/blockdev.rs Resolved
Comment thread lib/src/install/baseline.rs Resolved
Comment thread lib/src/install/baseline.rs Resolved
I think this may also help with the install flake we've been
seeing where we somehow get the partitions mixed up.

- Use `sfdisk` in the baseline install because it's what
  we're switching to using anyways later on
- Add some verification at least for the root and EFI partitions
  that we read back the expected type

Signed-off-by: Colin Walters <[email protected]>
@jeckersb

jeckersb commented Jul 17, 2024 •

Copy link
Copy Markdown
Collaborator

Hm not sure how i pushed overtop of you with --force-with-lease 😢

Nevermind it was me, it just shows up weird in the github UI when I push to your branch

@jeckersb
jeckersb enabled auto-merge July 17, 2024 18:41
@jeckersb
jeckersb merged commit d91c00a into bootc-dev:main Jul 17, 2024
cgwalters pushed a commit to cgwalters/bootc that referenced this pull request Nov 5, 2024
….10.6

build(deps): bump regex from 1.10.5 to 1.10.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants