summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2021-05-25 11:40:01 +0200
committerDan Andresan <Dan.Andresan@enea.com>2021-05-26 09:16:18 +0200
commit5d08f177d5b6b5e06c36c016b6686b0b9a2c6c2b (patch)
tree7d1f5d65efb693cef28fb9ce204dd922d54491b5
parent1e612506f0f7d01239edf578e84c19803692c339 (diff)
downloadmeta-nfv-access-bsp-x86-5d08f177d5b6b5e06c36c016b6686b0b9a2c6c2b.tar.gz
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 <Alexandru.Avadanii@enea.com>
-rw-r--r--conf/machine/qemux86-64-corei7.conf3
1 files changed, 3 insertions, 0 deletions
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"
32TUNE_PKGARCH_tune-corei7-64-x32 = "corei7-64-x32" 32TUNE_PKGARCH_tune-corei7-64-x32 = "corei7-64-x32"
33PACKAGE_EXTRA_ARCHS_tune-corei7-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64-x32} corei7-64-x32" 33PACKAGE_EXTRA_ARCHS_tune-corei7-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64-x32} corei7-64-x32"
34QEMU_EXTRAOPTIONS_corei7-64-x32 = " -cpu Nehalem,check=false" 34QEMU_EXTRAOPTIONS_corei7-64-x32 = " -cpu Nehalem,check=false"
35
36# wic image type builds all possible bootloaders (systemd-boot, grub-efi), remove unused ones
37WKS_FILE_DEPENDS_BOOTLOADERS_remove_qemux86-64 = "grub-efi systemd-boot"