diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2021-04-26 14:03:43 +0200 |
---|---|---|
committer | Dan Andresan <Dan.Andresan@enea.com> | 2021-05-26 09:23:27 +0200 |
commit | 20e1f95b49cb2dfb321b770b260b0d82d49fe699 (patch) | |
tree | 04eab62d54f128bcacd1ffe50de3618b1b1d2c20 /images/core-image-minimal-initramfs.bbappend | |
parent | a3d29a419e80277de3c86ab24434bb66f9ee16a9 (diff) | |
download | meta-el-nfv-access-20e1f95b49cb2dfb321b770b260b0d82d49fe699.tar.gz |
grub: Fix duplicate/unused grubx64.efi, cleanup
1. EFI_PREFIX: Fix duplicate grubx64.efi binaries by aligning paths:
* by default, upstream meta-oe and meta-secure-core both install
grubx64.efi, but in different locations (/boot/EFI/BOOT vs
/boot/efi/EFI/BOOT) unless we explicitely override some vars to
align the 2 paths; use the old behavior (/boot/efi/EFI/BOOT),
as meta-secure-core has multiple recipes that reference it, while
meta-oe allows changing the path via a single var override;
* note that in an OSTree deployment, these paths don't even exist
on target, we explicity install grubx64.efi during Enea Edge
installation by copying grubx64.efi from /EFI/BOOT in hddimg;
2. live-vm-common: use ${EFI_FILES_PATH} instead of hardcoding it;
3. core-image-minimal-initramfs, enea-nfv-access: Blacklist
grub-common-extras package on x86-64 machines if OSTree is used;
Depends-On: I703b53fd09c5ed75731375414f3e711ec3dadc3e
Change-Id: I3735bc004ece62f94172108f2e7ed4596942deea
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'images/core-image-minimal-initramfs.bbappend')
-rw-r--r-- | images/core-image-minimal-initramfs.bbappend | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/images/core-image-minimal-initramfs.bbappend b/images/core-image-minimal-initramfs.bbappend index 5512158..013463a 100644 --- a/images/core-image-minimal-initramfs.bbappend +++ b/images/core-image-minimal-initramfs.bbappend | |||
@@ -7,6 +7,8 @@ PACKAGE_INSTALL_append_sota = " ostree-switchroot" | |||
7 | # run-postinsts does not belong in the minimal initramfs | 7 | # run-postinsts does not belong in the minimal initramfs |
8 | PACKAGE_INSTALL_remove = "run-postinsts" | 8 | PACKAGE_INSTALL_remove = "run-postinsts" |
9 | 9 | ||
10 | PACKAGE_EXCLUDE_x86-64_sota += "grub-common-extras" | ||
11 | |||
10 | create_enea_symlink() { | 12 | create_enea_symlink() { |
11 | # enea image used in bare metal installation | 13 | # enea image used in bare metal installation |
12 | cd ${DEPLOY_DIR_IMAGE} | 14 | cd ${DEPLOY_DIR_IMAGE} |