public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: Anton Mikanovich <amikan@ilbers.de>, isar-users@googlegroups.com
Subject: Re: [PATCH] Fix GRUB booting on amd64 Ubuntu targets
Date: Tue, 09 Jan 2024 11:08:21 +0300	[thread overview]
Message-ID: <22985376cb5b5f407bbabd9556df3ae1f83a2664.camel@ilbers.de> (raw)
In-Reply-To: <20240103083043.206874-1-amikan@ilbers.de>

On Wed, 2024-01-03 at 10:30 +0200, Anton Mikanovich wrote:
> 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
> 

Applied to next.

      reply	other threads:[~2024-01-09  8:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-03  8:30 Anton Mikanovich
2024-01-09  8:08 ` Uladzimir Bely [this message]

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=22985376cb5b5f407bbabd9556df3ae1f83a2664.camel@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=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