Skip to content
Snippets Groups Projects
Unverified Commit 87515529 authored by Dominik Bayerl's avatar Dominik Bayerl Committed by Caleb Connolly
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 39235fed
No related branches found
No related tags found
1 merge request!2473pmbootstrap: run partprobe after repartitioning.
Pipeline #209600 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