pmbootstrap-meow/pmb/install
Dominik Bayerl 87515529cf
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: 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>
2024-11-04 08:09:37 +01:00
..
__init__.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
_install.py pmbootstrap: run partprobe after repartitioning (MR 2473) 2024-11-04 08:09:37 +01:00
blockdevice.py pmb: Add lots of type hints (MR 2464) 2024-10-30 12:39:45 +01:00
format.py pmb: Add lots of type hints (MR 2464) 2024-10-30 12:39:45 +01:00
losetup.py install: losetup: check if the back-file attribute for a loop device is null (MR 2456) 2024-10-27 16:03:17 +01:00
partition.py pmb: Add lots of type hints (MR 2464) 2024-10-30 12:39:45 +01:00
recovery.py pmb: Add lots of type hints (MR 2464) 2024-10-30 12:39:45 +01:00
ui.py Ruff: fix typing.Xxx is deprecated, use xxx instead (MR 2327) 2024-06-23 19:13:57 +02:00