aboutsummaryrefslogtreecommitdiffstats
path: root/common/scripts/lib
AgeCommit message (Collapse)Author
2019-08-28common: rename to meta-amd-bspArsalan H. Awan
This renames common layers to meta-amd-bsp as it is going to hold all the bsps in it in the following commits. This also changes the layer title in layer.conf from "amd" to "amd-bsp" Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-11-15wic/amd-usbimage.wks: reduce image sizeArsalan H. Awan
This cuts down the unnecessary free space in the image by setting the --overhead-factor to 1.0, therefore reduces the image size of amd-usbimage.wks & makes it easier to handle while transferring or flashing to a USB etc. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-11-15wic/amd-usbimage.wks: set appropriate label considering other DISTROsArsalan H. Awan
This changes the partition label of amd-usbimage.wks wic image from "mel-live" to the default "boot", therefore makes it suitable to be used for MEL as well as open yocto (or other) DISTROs. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-11-08common: add wic images supportArsalan H. Awan
This adds support for wic images for AMD BSPs by adding "wic" to IMAGE_FSTYPES. This commit also creates a "amd-usbimage.wks" file as a default wic image for AMD BSPs, which uses the bootimg-partition wic source plugin to create a bootable image. The contents of this image can be set via IMAGE_BOOT_FILES variable. This commit populates the image with the files same as in hddimg, therefore supports both grub EFI boot and syslinux legacy boot. The IMAGE_BOOT_FILES variable can be overridden to support any bootloader such as: systemd, or any other files that are required to be deployed into the wic image can be added here. This resulting image can be flashed on a USB, and supports both "boot" and "install" options in the bootloader menu. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>