diskimage-builder/elements/vm
Om Kumar 50d1e09df1 Fix Grub configurations for Fedora images built on a UEFI host.
The grub install scripts on Fedora have hardcoded checks for
/sys/firmware/efi and if the directory exists, it uses efi
specific instruction like initrdefi, linuxefi etc. vm element
should fix it once the configuration is generated.

Closes-bug: #1231946
Change-Id: I888304cb9167b8e074b04ca6c5b2f9143b70d37d
2014-04-02 03:09:29 +00:00
..
block-device.d Use kpartx if partition device doesn't exist 2013-08-20 13:27:49 -04:00
finalise.d Fix Grub configurations for Fedora images built on a UEFI host. 2014-04-02 03:09:29 +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.