From 5d08f177d5b6b5e06c36c016b6686b0b9a2c6c2b Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Tue, 25 May 2021 11:40:01 +0200 Subject: qemux86-64 machine: Remove unused bootloader deps Upstream image_types_wic.bbclass adds build time dependencies for all possible bootloaders (grub-efi, systemd-boot, syslinux). Most of them (grub-efi, systemd-boot) copy (unused) artifacts to our deploy dir (e.g. systemd-bootx64.efi) and take up build time although we only use syslinux to generate a pcbios compatible wic file for the Enea Edge VNF image. Remove unused bootloaders, saving some build time, disk space and cleaning up the deploy dir. Note: Since the Enea Edge host image does not have rootfs.wic among its artifacts, there's no need to apply the same change for the other machines. Change-Id: Ib0d76f6ad2002e5bb6fceaa7f9f1a179c7d505e0 Signed-off-by: Alexandru Avadanii --- conf/machine/qemux86-64-corei7.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf') diff --git a/conf/machine/qemux86-64-corei7.conf b/conf/machine/qemux86-64-corei7.conf index 8f4bc1f..4f6e807 100644 --- a/conf/machine/qemux86-64-corei7.conf +++ b/conf/machine/qemux86-64-corei7.conf @@ -32,3 +32,6 @@ BASE_LIB_tune-corei7-64-x32 = "libx32" TUNE_PKGARCH_tune-corei7-64-x32 = "corei7-64-x32" PACKAGE_EXTRA_ARCHS_tune-corei7-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64-x32} corei7-64-x32" QEMU_EXTRAOPTIONS_corei7-64-x32 = " -cpu Nehalem,check=false" + +# wic image type builds all possible bootloaders (systemd-boot, grub-efi), remove unused ones +WKS_FILE_DEPENDS_BOOTLOADERS_remove_qemux86-64 = "grub-efi systemd-boot" -- cgit v1.2.3-54-g00ecf