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 |
||
---|---|---|
.. | ||
cleanup.d | ||
README.md |
This is the baremetal (IE: real hardware) element.
Does the following:
- extracts the kernel and initial ramdisk of the built image.
Optional parameters:
- DIB_BAREMETAL_KERNEL_PATTERN and DIB_BAREMETAL_INITRD_PATTERN may be supplied to specify which kernel files are preferred; this can be of use when using custom kernels that don't fit the standard naming patterns. Both variables must be provided in order for them to have any effect.