I want to create a disk image with two partition, boot partition and rootfs partition.
I want boot to be a fixed size and rootfs to be easily resizeable to fill the target device after the image is
dded to it.
Resizing file system using
resize2fs is trivial, but manipulating the partition table is not.
Is there a way to let rootfs partition and file system fill the whole drive safely?