pmbootstrap: run partprobe after repartitioning.
Compare changes
- Dominik Bayerl authored
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:
Dominik Bayerl <dominik.bayerl@carissma.eu> [caleb: move call so it runs after partition_cgpt() as well] Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
+ 4
− 0
@@ -868,6 +868,10 @@ def install_system_image(