<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10314</bug_id>
          
          <creation_ts>2016-09-21 11:53:20 +0000</creation_ts>
          <short_desc>Installing Yocto on EFI systems</short_desc>
          <delta_ts>2017-06-01 18:25:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>Installation</product>
          <component>Installation</component>
          <version>2.1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>2.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>tomasz.meresinski</reporter>
          <assigned_to name="Alejandro Hernandez">alejandro.hernandez</assigned_to>
          <cc>alejandro.hernandez</cc>
    
    <cc>benjamin.esquivel</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66413</commentid>
    <comment_count>0</comment_count>
      <attachid>3435</attachid>
    <who name="">tomasz.meresinski</who>
    <bug_when>2016-09-21 11:53:20 +0000</bug_when>
    <thetext>Created attachment 3435
Patches

Hi,
I had some difficulties during installing my image by init-install-efi.sh.
After some research I found out, that on my platform it was necessary to invoke grub-install. Patch resolving it is in attachments.
The second bug was incorrect location of grub.cfg file after install. I patched it too.

I&apos;m not sure if it is a good idea to apply those patches because they may break on other platforms but I think you should know that there are some EFI firmware which doesn&apos;t like your current script. Maybe it would be a good idea to copy EFI handling from other distros?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66426</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2016-09-21 16:57:31 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Created attachment 3435 [details]
&gt; Patches
&gt; 
&gt; Hi,
&gt; I had some difficulties during installing my image by init-install-efi.sh.
&gt; After some research I found out, that on my platform it was necessary to
&gt; invoke grub-install. Patch resolving it is in attachments.
&gt; The second bug was incorrect location of grub.cfg file after install. I
&gt; patched it too.
&gt; 
&gt; I&apos;m not sure if it is a good idea to apply those patches because they may
&gt; break on other platforms but I think you should know that there are some EFI
&gt; firmware which doesn&apos;t like your current script. Maybe it would be a good
&gt; idea to copy EFI handling from other distros?

What platform are you using?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66472</commentid>
    <comment_count>2</comment_count>
    <who name="">tomasz.meresinski</who>
    <bug_when>2016-09-22 09:31:53 +0000</bug_when>
    <thetext>/sys/devices/virtual/dmi/id# for file in bios* board*; do echo $file; cat &quot;$file&quot;; done

bios_date
02/02/2016
bios_vendor
FUJITSU // American Megatrends Inc.
bios_version
V5.0.0.11 R1.11.0 for D3402-B1x                   
board_asset_tag
        
board_name
D3402-B1
board_vendor
FUJITSU
board_version
S26361-D3402-B1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73622</commentid>
    <comment_count>3</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2017-06-01 18:25:30 +0000</bug_when>
    <thetext>Hey Tomasz,

I was taking a look at your patches and I do believe they work for your specific platform, but I dont think this can be classified as a bug, I believe its more related to the specific configuration that you choose.

It looks that the EFIVAR should be set to what you are setting it to already, I am unsure whether this should be done by you or automatically, like I said, it looks like this is related to your specific configuration.

Also you are mentioning efivar, efibootmgr, etc. Which are part of meta-oe and technically they are not part of the core distribution, you may want to send these by email to the meta-oe list, using the tag [meta-oe]:

openembedded-devel@lists.openembedded.org</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>3435</attachid>
            <date>2016-09-21 11:53:20 +0000</date>
            <delta_ts>2016-09-21 11:53:20 +0000</delta_ts>
            <desc>Patches</desc>
            <filename>patches.zip</filename>
            <type>application/zip</type>
            <size>1897</size>
            <attacher>tomasz.meresinski</attacher>
            
              <data encoding="base64">UEsDBBQDAAAIANZrNUkV4GgYGQIAABoEAAApAAAAMDAwMS1Db3JyZWN0LWRpcmVjdG9yeS1mb3It
Z3J1Yi5jZmcucGF0Y2ilU1tP2zAYffevOGJ9gAXn1iZNu2UF2pXxgEDQag8IISd2Wo80yRx3Grv8
99kZDF4mJLAsWf7OOd/FOp6regN/GAxYHIphHMVFPIqiMPbDPMv6WcQTPw8jlo2SJPJxWle4FA2C
IXx/3G2Evh8Qm2aMdLJczGky+TpZ1BvW/khD/1Qo0cp0GqXJoL2VkxTvdYe5mw6pTPAgNxGVr92m
/EBmTIsxPgu+jzCwxUyBIEbQH4fxuD+C45uC5HKbfRG5HuPq/HAx/YTA619jWitlguDSHrW6Q1Er
rNQ2c/NiRQillGAjNPMMLhvR0rxWwpOV1Iq3uZKNbr1ClqLtYtQ0p1lZUlFIt13jF/pwHJMigCUh
X7Nq1fUJwxRKy7pqd529fUPgohT2vkv3COGyKEDpSmow7+X1s5driay4+A4eJUkYM9cVol+MggiB
78eDgX2Y13RGHMd5VXcHB6ChP9wfwrFHAhPIG3hqW5msXDKvF3gf5yfe0dnZwnvrGhl65j47uSAg
kAWuQIv/8R8MgOt30GtREdil6lrfNEzpm+1W8rS3m5W3koPW+MbKrQBtcX54sVguT2bo/bTsov29
R6jVHl8sj6bz43Tnvol/JXaIY/HNrbEgqJkgM7oO7YBH4SPwRGsZZu5n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