Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Awan, Arsalan" <Arsalan_Awan@mentor.com>
To: akuster808 <akuster808@gmail.com>,
	"openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: Re: [sumo][PATCH 1/1] wic/isoimage-isohybrid.py: fix booting from removable media
Date: Tue, 13 Nov 2018 10:46:51 +0000	[thread overview]
Message-ID: <1542106011533.81309@mentor.com> (raw)
In-Reply-To: <1541403256938.5944@mentor.com>

ping

> > Arsalan,
> >
> >
> > On 11/2/18 8:01 AM, Arsalan Awan wrote:
> > > From: "Arsalan H. Awan" <Arsalan_Awan@mentor.com>
> > >
> > > The EFI bootloader name and path for being able to boot from a
> > > removable storage media - such as USB - must be like:
> > >
> > >   /EFI/BOOT/boot<arch>.efi
> > >   /EFI/BOOT/bootx64.efi
> > >   /EFI/BOOT/bootia32.efi
> > >   /EFI/BOOT/bootaa64.efi
> > >
> > > otherwise system will not be able to boot from it.
> >
> > Is this fixed in Master & Thud ?
> >
> > - armin
> 
> Yes Armin! It is fixed in Thud and Master.
> 
> -
> Arsalan
> 
> >
> > >
> > > This commit fixes the grub-efi bootloader destination image name
> > > accordingly just like efi_populate() function does it in
> > > meta/classes/grub-efi.bbclass.
> > >
> > > Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
> > > ---
> > >  scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 4 +++-
> > >  1 file changed, 3 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py
> > > index d6bd3bf..9a30713 100644
> > > --- a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py
> > > +++ b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py
> > > @@ -329,13 +329,15 @@ class IsoImagePlugin(SourcePlugin):
> > >
> > >                  if re.match("x86_64", target_arch):
> > >                      grub_image = "grub-efi-bootx64.efi"
> > > +                    grub_image_dst = "bootx64.efi"
> > >                  elif re.match('i.86', target_arch):
> > >                      grub_image = "grub-efi-bootia32.efi"
> > > +                    grub_image_dst = "bootia32.efi"
> > >                  else:
> > >                      raise WicError("grub-efi is incompatible with target %s" %
> > >                                     target_arch)
> > >
> > > -                grub_target = os.path.join(target_dir, grub_image)
> > > +                grub_target = os.path.join(target_dir, grub_image_dst)
> > >                  if not os.path.isfile(grub_target):
> > >                      grub_src = os.path.join(deploy_dir, grub_image)
> > >                      if not os.path.exists(grub_src):


  reply	other threads:[~2018-11-13 10:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-02 15:00 [sumo][PATCH 0/1] wic/isoimage-isohybrid.py: fix booting from removable media Arsalan Awan
2018-11-02 15:01 ` [sumo][PATCH 1/1] " Arsalan Awan
2018-11-02 23:43   ` akuster808
2018-11-05  7:34     ` Awan, Arsalan
2018-11-13 10:46       ` Awan, Arsalan [this message]
2018-11-13 11:16         ` Mittal, Anuj
2018-11-13 11:28           ` Awan, Arsalan
2018-11-13 16:14             ` akuster808
2018-11-13 15:42         ` akuster808

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=1542106011533.81309@mentor.com \
    --to=arsalan_awan@mentor.com \
    --cc=akuster808@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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