diskimage-builder/elements/vm
Juerg Haefliger 340f38d014 Extend/fix support for extlinux bootloader
Some extlinux packages install mbr.bin under /usr/lib/extlinux or
/usr/lib/EXTLINUX so tese directories need to be checked as well.
Also, there are packages that create a /boot/extlinux directory
which needs to be taken into account. Finally, commit
bccffc8bfd dropped the /boot prefix
from the kernel and initrd references in the ext/syslinux config
file which is simply a bug that needs fixing.

Change-Id: Idb071c9b18ff557b0f0f76d0d754536f2deca904
Closes-Bug: 1335042
2014-07-30 09:49:34 +02:00
..
block-device.d set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
cleanup.d Extend/fix support for extlinux bootloader 2014-07-30 09:49:34 +02:00
finalise.d Extend/fix support for extlinux bootloader 2014-07-30 09:49:34 +02: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.