Skip to content
Snippets Groups Projects
Verified Commit 5217e29a authored by Dominik Bayerl's avatar Dominik Bayerl Committed by Robert Eckelmann
Browse files

pmbootstrap: run partprobe after repartitioning (MR 2473)


On some kernels (notably, WSL2) parted fails to inform the kernel
about the new partition layout, leading to errors when trying to
create the new filesystems.

This change runs an additional `partprobe` after updating the
partition table, informing the kernel about the new layout.

Fixes: #2422
Signed-off-by: default avatarDominik Bayerl <dominik.bayerl@carissma.eu>
[caleb: move call so it runs after partition_cgpt() as well]
Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
parent 3b4b9cd0
No related branches found
No related tags found
No related merge requests found
Pipeline #209584 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment