diskimage-builder/elements/vm
Om Kumar bccffc8bfd Refactor code to select boot kernel
The script to find best kernel from image (used by vm
and baremetal element) is duplicated and is not in sync
with each other. Moving the code to img-functions as a
function will reduce duplicated code and make it reusable
in future.

Since img-functions is not accessible in chroot env,
kernel selection is being moved from finalise.d to
cleanup.d in the vm element.

Change-Id: I8fbccc13a2c61a5191ef9ea5d2a8302a3e43b000
2014-06-13 11:46:39 +05:30
..
block-device.d set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
cleanup.d Refactor code to select boot kernel 2014-06-13 11:46:39 +05:30
finalise.d Refactor code to select boot kernel 2014-06-13 11:46:39 +05:30
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.