xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-core/ovmf/ovmf-shell-image.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1DESCRIPTION = "boot image with UEFI shell and tools"
2COMPATIBLE_HOST:class-target='(i.86|x86_64).*'
3
4# For this image recipe, only the wic format with a
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.
8IMAGE_FSTYPES:forcevariable = 'wic'
9WKS_FILE = "ovmf/ovmf-shell-image.wks"
10WKS_FILE_DEPENDS = ""
11
12inherit 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.
17PACKAGE_INSTALL = "ovmf-shell-efi"
18LINGUAS_INSTALL = ""
19do_image () {
20    rm -rf `ls -d ${IMAGE_ROOTFS}/* | grep -v efi`
21}
22