diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2021-05-25 11:40:01 +0200 |
---|---|---|
committer | Dan Andresan <Dan.Andresan@enea.com> | 2021-05-26 09:16:18 +0200 |
commit | 5d08f177d5b6b5e06c36c016b6686b0b9a2c6c2b (patch) | |
tree | 7d1f5d65efb693cef28fb9ce204dd922d54491b5 | |
parent | 1e612506f0f7d01239edf578e84c19803692c339 (diff) | |
download | meta-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.conf | 3 |
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" | |||
32 | TUNE_PKGARCH_tune-corei7-64-x32 = "corei7-64-x32" | 32 | TUNE_PKGARCH_tune-corei7-64-x32 = "corei7-64-x32" |
33 | PACKAGE_EXTRA_ARCHS_tune-corei7-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64-x32} corei7-64-x32" | 33 | PACKAGE_EXTRA_ARCHS_tune-corei7-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64-x32} corei7-64-x32" |
34 | QEMU_EXTRAOPTIONS_corei7-64-x32 = " -cpu Nehalem,check=false" | 34 | QEMU_EXTRAOPTIONS_corei7-64-x32 = " -cpu Nehalem,check=false" |
35 | |||
36 | # wic image type builds all possible bootloaders (systemd-boot, grub-efi), remove unused ones | ||
37 | WKS_FILE_DEPENDS_BOOTLOADERS_remove_qemux86-64 = "grub-efi systemd-boot" | ||