38b14df72c
When running inside a Docker container, we cannot rely on devices in /dev/mapper to be automagically created by udev, because we probably don't have a udev at all. To work around this, run dmsetup mknodes after every kpartx run. Change-Id: If7e30579224ce54c5ed26d08974d8293c144719a |
||
---|---|---|
.. | ||
block-device.d | ||
cleanup.d | ||
finalise.d | ||
README.md |
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.