<?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>9596</bug_id>
          
          <creation_ts>2016-05-05 20:09:45 +0000</creation_ts>
          <short_desc>Build &quot;minimal&quot; extensible SDK installers instead of &quot;full&quot; ones</short_desc>
          <delta_ts>2017-09-06 23:26:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>2.1</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.3 M3</target_milestone>
          <dependson>9727</dependson>
    
    <dependson>10794</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry Bruce">henry.bruce</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>elizabeth.flanagan</cc>
    
    <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>mhalstead</cc>
    
    <cc>randy.e.witt</cc>
    
    <cc>richard.purdie</cc>
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</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>61995</commentid>
    <comment_count>0</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-05-05 20:09:45 +0000</bug_when>
    <thetext>Currently &quot;full&quot; eSDk installers are built as can be found at http://downloads.yoctoproject.org/releases/yocto/yocto-2.1/toolchain/x86_64/

These installers do not allow the &quot;extensible&quot; part of eSDK to be exercised so we should build &quot;minimal&quot; installers instead (i.e. SDK_EXT_TYPE = &quot;minimal&quot;). This means we also need to publish matching sstate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62145</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-05-12 14:35:43 +0000</bug_when>
    <thetext>I&apos;m conscious that if we do this, we need to reference the autobuilder sstate feed to make the eSDK useful. It has implications for the automated QA of the eSDK too.

Paul/Randy: Do we want to do this? Or do we need to build both? Interested in your feedback on what priority this should be.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62156</commentid>
    <comment_count>2</comment_count>
    <who name="Randy Witt">randy.e.witt</who>
    <bug_when>2016-05-12 17:17:40 +0000</bug_when>
    <thetext>Jessica was actually talking to me about this yesterday. Since we do have the esdk container now it makes sense to have &quot;something&quot; published, which we do have and I wasn&apos;t even aware of that.

I would really like to see the minimal ones published as well. It&apos;s a much better user experience from the initial go. And we would also install the packagedata.

But as you said, this requires adding a usable &quot;stable&quot; sstate feed that won&apos;t 403/404 if lots of users try to use it at the same time.

Building both would be great, but I would want to ask Michael about infrastructure impacts beforehand.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66227</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-09-15 20:03:14 +0000</bug_when>
    <thetext>Moving to same milestone and owner as the Depends on: 9727</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66274</commentid>
    <comment_count>4</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-09-17 01:22:28 +0000</bug_when>
    <thetext>Please don&apos;t let perfect be the enemy of good. Let&apos;s get an esdk installer that uses the yoctoproject.org sstate mirror in place and then handle demands on infrastructure resources.

If developers cannot quickly assess the benefits of a correctly configured esdk installer, then they will not transition away from the traditional sdk and our investment in esdk will not see the rewards it deserves.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68483</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-11-22 13:33:22 +0000</bug_when>
    <thetext>This is just a case of setting SDK_EXT_TYPE[1], as Henry indicated, and ensuring the SDK&apos;s built by the autobuilder are pointed at the sstate mirrors in #9727.

1. http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-SDK_EXT_TYPE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68532</commentid>
    <comment_count>6</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-11-23 12:33:45 +0000</bug_when>
    <thetext>I need to work with Paul to figure out the correct mechanism to set an SSTATE_MIRRORS variable for use by the eSDK that won&apos;t force the variable to be used during the build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68555</commentid>
    <comment_count>7</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-11-23 21:06:19 +0000</bug_when>
    <thetext>We can create an sdk-extra.conf file with the variables we only want to be set in the SDK, i.e. SSTATE_MIRRORS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68582</commentid>
    <comment_count>8</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-11-24 17:36:08 +0000</bug_when>
    <thetext>I have a patch in testing now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68863</commentid>
    <comment_count>9</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-12-06 16:32:33 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?id=b506db39c6f8991895f1f121f0e109a862a1e47e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69056</commentid>
    <comment_count>10</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-12-12 21:35:41 +0000</bug_when>
    <thetext>Re-opening.

The minimal eSDK results in sanity test failures. The tests need updating to install required components. Until those updates are made, some time after M1, we need to disable the minimal eSDK generation on the autobuilder.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69059</commentid>
    <comment_count>11</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-12-12 21:46:10 +0000</bug_when>
    <thetext>Can you share the URL of the eSDK install so I can also test?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69076</commentid>
    <comment_count>12</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-12-13 10:42:12 +0000</bug_when>
    <thetext>(In reply to comment #11)
&gt; Can you share the URL of the eSDK install so I can also test?

Sure:

http://autobuilder.yoctoproject.org/pub/nightly/20161211-1/toolchain/x86_64/

This is a transient URL, so don&apos;t be surprised if/when it disappears.

The minimal eSDK installers are significantly smaller (i.e. ~25M vs ~2.8G for poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-2.2.sh) but don&apos;t include a toolchain, we have a change queued to enable inclusion of the toolchain when we re-enable minimal eSDK installers:

http://git.yoctoproject.org/clean/cgit.cgi/yocto-autobuilder/commit/?id=0d2ff70f0747ffb7fb9e006cb2ad41fd6cc5390c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70173</commentid>
    <comment_count>13</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-01-26 11:35:55 +0000</bug_when>
    <thetext>Dependency bugs haven&apos;t been resolved and M2 rc1 has been built, moving this to M3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70314</commentid>
    <comment_count>14</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-02-01 02:14:42 +0000</bug_when>
    <thetext>(In reply to comment #13)
&gt; Dependency bugs haven&apos;t been resolved and M2 rc1 has been built, moving this
&gt; to M3.

Hi Joshua.
The fix was already commited: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=aca3afcb592ef4ff070760ab2aafba03152a57fb

also https://bugzilla.yoctoproject.org/show_bug.cgi?id=10794 is marked as resolved now.
Regards</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70813</commentid>
    <comment_count>15</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-02-17 15:52:40 +0000</bug_when>
    <thetext>We&apos;re all ready to go on this, we just need to be able to detect the change in selftest behaviour that enabled using it with a minimal eSDK.

I&apos;ve proposed a layer version bump for that https://patchwork.openembedded.org/patch/137291/

Once that&apos;s merged I can push the patch for yocto-autobuilder and we can start building minimal eSDK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70910</commentid>
    <comment_count>16</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2017-02-23 16:07:43 +0000</bug_when>
    <thetext>Relevant changes have landed:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e436a6398684d2872cb541f1cfb0f67b3618d15a
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/commit/?id=9aae4a1b0a5d1c0a8119767d1cef9d423c83511e

and the AB is updated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76595</commentid>
    <comment_count>17</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2017-09-06 23:26:47 +0000</bug_when>
    <thetext>I just took a look at http://downloads.yoctoproject.org/releases/yocto/yocto-2.3.1/toolchain/x86_64/ and don&apos;t see any minimal eSDK installers. Unless minimal install size is now over 200MB.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>