From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH] Fix GRUB booting on amd64 Ubuntu targets
Date: Wed, 3 Jan 2024 10:30:43 +0200 [thread overview]
Message-ID: <20240103083043.206874-1-amikan@ilbers.de> (raw)
GRUB bootloader requires linuxefi module to be installed on Ubuntu
targets under amd64 architecture.
Otherwise following error will occur:
error: file `/EFI/BOOT/x86_64-efi/linuxefi.mod' not found.
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py b/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py
index 139ef466..b934d0c7 100644
--- a/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py
+++ b/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py
@@ -411,6 +411,8 @@ class BootimgEFIPlugin(SourcePlugin):
grub_target = 'x86_64-efi'
grub_image = "bootx64.efi"
grub_modules = "multiboot efi_uga iorw ata "
+ if get_bitbake_var("DISTRO").startswith("ubuntu"):
+ grub_modules += "linuxefi "
elif distro_arch == "i386":
grub_target = 'i386-efi'
grub_image = "bootia32.efi"
--
2.34.1
next reply other threads:[~2024-01-03 8:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-03 8:30 Anton Mikanovich [this message]
2024-01-09 8:08 ` Uladzimir Bely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240103083043.206874-1-amikan@ilbers.de \
--to=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox