diskimage-builder/elements/vm
Lucas Alvares Gomes a1beca7b44 EFI hosts
If you have an EFI host but the image doesn't have the EFI modules
installed the grub-install command will fail in case the --target
argument is not set. The problem is that the grub-install script will
check whether the /sys/firmware/efi file exists or not to determine if
it's an EFI installation, but this value comes from the host, so this
patch will look for the /sys/firmware/efi file and will also check if
the EFI modules are installed in the image, if not set the --target to
a non-efi platform.

Change-Id: I4481b43e4a8fe4144be9c7eb9d9c618bbb2df21e
2013-07-15 10:22:51 +01:00
..
block-device.d Build images using loopdev instead of qemu-nbd. 2013-04-30 08:56:12 -07:00
finalise.d EFI hosts 2013-07-15 10:22:51 +01:00
README.md New element that uses a fedora cloud image as the base. 2013-02-15 09:33:29 +13:00

Sets up a partitioned disk (rather than building just one filesystem with no partition table).

The disk will have grub[2]-install run on it, and that assumes a functional grub[2] setup.