41f503fef3
A TODO was placed on the partitioning section of the vm element to replace sfdisk with a saner (and less arcane) way of partitioning. It suggested parted for replacement. This changeset should reproduce the same disk label and partition layout as sfdisk, but with less ioctl errors and version dependency. It will also ensure partition alignment. Change-Id: I5d8d75131458b73bfb05f80f1bfa7e2970e004b3 |
||
---|---|---|
.. | ||
block-device.d | ||
cleanup.d | ||
finalise.d | ||
README.rst |
== vm == Sets up a partitioned disk (rather than building just one filesystem with no partition table). By default the disk will have grub[2]-install run on it. In case GRUB2 is not available in the system, a fallback to Extlinux will happen. It's also possible to enforce the use of Extlinux by exporting a DIB_EXTLINUX variable to the environment.