<?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>9556</bug_id>
          
          <creation_ts>2016-04-28 16:25:36 +0000</creation_ts>
          <short_desc>The EFI bootloaders should deploy startup.nsh for wic</short_desc>
          <delta_ts>2016-05-31 18:58:02 +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>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christopher Larson">kergoth</reporter>
          <assigned_to name="Christopher Larson">kergoth</assigned_to>
          <cc>eduard.bartosh</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="David Rodriguez">david.israelx.rodriguez.castellanos</qa_contact>
          <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>61808</commentid>
    <comment_count>0</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2016-04-28 16:25:36 +0000</bug_when>
    <thetext>Currently, wic EFI images dont&apos; end up with startup.nsh, so the user has to type in the correct bits into the EFI command-line, which isn&apos;t very user-friendly. mkefidisk.sh in oe-core writes it for us, but we don&apos;t get it for wic images. Rather than hardcoding it into wic, lets deploy it and let wic grab it from there and drop it into the boot partition.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62450</commentid>
    <comment_count>1</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2016-05-25 19:28:44 +0000</bug_when>
    <thetext>Initially, I had thought to do this in the recipes, but bootimg-efi doesn&apos;t pull IMAGE_BOOT_FILES from DEPLOY_DIR_IMAGE, it pulls from HDDDIR, so the bbclasses will have to do it instead. IMO we should divorce bootimg-efi from image-live/bootimg entirely and have it just pull from DEPLOY_DIR_IMAGE. It already duplicates the bootloader config file generation, so it should just do the rest as well, but we can improve that as a subsequent task. For now I&apos;m altering the grub-efi and gummiboot classes to write startup.nsh to hdddir for non-iso for wic to use, and patching bootimg-efi to grab it if it&apos;s available.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62451</commentid>
    <comment_count>2</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2016-05-25 20:35:35 +0000</bug_when>
    <thetext>Sent to the oe-core list for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62548</commentid>
    <comment_count>3</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2016-05-31 18:58:02 +0000</bug_when>
    <thetext>Merged to oe-core:
- https://github.com/openembedded/openembedded-core/commit/ec8dc34f974ddda420bddbd195fb344e3db46cab
- https://github.com/openembedded/openembedded-core/commit/43ca968c5af129a990625923bc28131b8701386d
- https://github.com/openembedded/openembedded-core/commit/aa215c12d729c001ad3b8b98a7e203a9ad192211</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>