bccffc8bfd
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 |
||
---|---|---|
.. | ||
block-device.d | ||
cleanup.d | ||
finalise.d | ||
README.md |
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.