Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | DESCRIPTION = "boot image with UEFI shell and tools" |
| 2 | |
| 3 | # For this image recipe, only the wic format with a |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 4 | # single vfat partition makes sense. Because we have no |
| 5 | # boot loader and no rootfs partition, not additional |
| 6 | # tools are needed for this .wks file. |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 7 | IMAGE_FSTYPES_forcevariable = 'wic' |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 8 | WKS_FILE = "ovmf/ovmf-shell-image.wks" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 9 | WKS_FILE_DEPENDS = "" |
| 10 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 11 | inherit image |
| 12 | |
| 13 | # We want a minimal image with just ovmf-shell-efi unpacked in it. We |
| 14 | # avoid installing unnecessary stuff as much as possible, but some |
| 15 | # things still get through and need to be removed. |
| 16 | PACKAGE_INSTALL = "ovmf-shell-efi" |
| 17 | LINGUAS_INSTALL = "" |
| 18 | do_image () { |
| 19 | rm -rf `ls -d ${IMAGE_ROOTFS}/* | grep -v efi` |
| 20 | } |