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