Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repartition: Use partx rather than busybox partprobe
Since da7b937, partprobe in the initramfs is busybox, not the tool from parted. For unknown reasons, busybox partprobe fails to probe /dev/loop0 after it has been repartitioned, failing with: partprobe: /dev/loop0: Invalid argument partx --update performs a similar function, except that it works correctly at this stage of the boot process. Using partx also has the advantage that running this tool manually from the booted system (where partprobe is the real thing) will actually run the same code as in the initramfs. https://phabricator.endlessm.com/T35432
- Loading branch information