Skip to content

main/util-linux: split partx into subpkg

Split partx from util-linux into its own subpackage.

https://github.com/mcrute/alpine-ec2-ami (via https://github.com/mcrute/tiny-ec2-bootstrap) need a way to update the kernel's knowledge of the partition table after resizing the root volume for aarch64 AMIs. This was previously not a concern because x86_64 AMIs' root is the entire EBS volume, whereas booting aarch64 AMI requires partitioning the volume for UEFI.

BusyBox partprobe appears to be incapable of doing this, complaining that the partition is in use. We would, of course, like to keep our AMIs as small as possible, and having partx be its own package (like sfdisk, which we also use) would accomplish that.

Merge request reports