diskimage-builder/elements/vm
Victor Lowther 38b14df72c Make diskimage-builder work in Docker.
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
2014-09-15 06:43:53 -05:00
..
block-device.d Make diskimage-builder work in Docker. 2014-09-15 06:43:53 -05:00
cleanup.d Extend/fix support for extlinux bootloader 2014-07-30 09:49:34 +02:00
finalise.d Merge "Changed serial console setup" 2014-09-09 12:42:31 +00:00
README.md Fix spelling error in "vm" element README.md 2014-03-03 09:58:12 -08:00

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.