<?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>12346</bug_id>
          
          <creation_ts>2017-11-14 21:02:52 +0000</creation_ts>
          <short_desc>meta-intel: ISO installer silently fails to install if booted in legacy mode</short_desc>
          <delta_ts>2018-01-23 22:35:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-intel</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>2.4.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry Bruce">henry.bruce</reporter>
          <assigned_to name="California Sullivan">california.l.sullivan</assigned_to>
          <cc>akuster</cc>
    
    <cc>california.l.sullivan</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78205</commentid>
    <comment_count>0</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2017-11-14 21:02:52 +0000</bug_when>
    <thetext>Steps to re-create
===================
* Get rocko release of poky and meta-intel
* In local.conf add the following
  MACHINE = &quot;intel-corei7-64&quot;
  IMAGE_FSTYPES += &quot;iso&quot;
* Build core-image-minimal
* dd ISO image to USB stick
* Boot an x86-64 device in legacy mode, selecting USB stick as boot device
* Select install option in bootloader
* See installer fall through to login prompt without installing image

Expected behavior
=================
Installer installs image to HDD, never gets to login prompt

Workarounds
===========
Either
1. Boot in EFI mode
Or
2. Use pyro (bug was introduced in rocko release)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78206</commentid>
    <comment_count>1</comment_count>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2017-11-14 21:18:16 +0000</bug_when>
    <thetext>Meta-intel adopted initramfs-framework before OE-core, and unfortunately there is currently no non-EFI initramfs-framework module for installation, which caused this breakage.

Its a fairly simple fix, but could take some time to get into OE-core, then backported to rocko due to the currently backlog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78266</commentid>
    <comment_count>2</comment_count>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2017-11-16 18:06:44 +0000</bug_when>
    <thetext>OE-core counterpart sent to the list:

http://lists.openembedded.org/pipermail/openembedded-core/2017-November/144406.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78595</commentid>
    <comment_count>3</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2017-12-07 16:32:43 +0000</bug_when>
    <thetext>in master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=91972d58c9fc40cc1d7e568d2457936257f79b45</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78601</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2017-12-07 19:57:02 +0000</bug_when>
    <thetext>I have backported 

518d8a4 initramfs-framework: add install module
d93b197 initramfs-module-install-efi: update summary
104e3af initramfs-module-install-efi: point to original copy and delete new file

to stable/rocko-next since this landed in master. I hear there is one additional patch needed that is not yet in master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78675</commentid>
    <comment_count>5</comment_count>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2017-12-11 19:07:44 +0000</bug_when>
    <thetext>The last necessary OE-core patch was merged into master: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=09b8b36b30cc5a359fc316169a037a03512cd5af</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79198</commentid>
    <comment_count>6</comment_count>
    <who name="California Sullivan">california.l.sullivan</who>
    <bug_when>2018-01-23 22:35:48 +0000</bug_when>
    <thetext>Fixed in master: https://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/?id=a129e6a1c8a25ca5c7dcc079fe2ea80f21320e5f

Fixed in rocko: https://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/?h=rocko&amp;id=7ffb1f7cbc7932af9ccd2743c270d33cbddb4b01</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>