Files
poky/meta/recipes-core/ovmf/ovmf-shell-image.bb
Patrick Ohly ba1ea783fd ovmf-shell-image.bb: simplify dependencies
The image consists only of the EFI system partition, therefore
we can avoid depending on the default wic tools.

(From OE-Core rev: f147b2502ae53d63a884a46e994ae18e12ec4ef6)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-24 09:13:31 +01:00

21 lines
679 B
BlitzBasic

DESCRIPTION = "boot image with UEFI shell and tools"
# For this image recipe, only the wic format with a
# single vfat partition makes sense. Because we have no
# boot loader and no rootfs partition, not additional
# tools are needed for this .wks file.
IMAGE_FSTYPES_forcevariable = 'wic'
WKS_FILE = "ovmf/ovmf-shell-image.wks"
WKS_FILE_DEPENDS = ""
inherit image
# We want a minimal image with just ovmf-shell-efi unpacked in it. We
# avoid installing unnecessary stuff as much as possible, but some
# things still get through and need to be removed.
PACKAGE_INSTALL = "ovmf-shell-efi"
LINGUAS_INSTALL = ""
do_image () {
rm -rf `ls -d ${IMAGE_ROOTFS}/* | grep -v efi`
}