<?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>3220</bug_id>
          
          <creation_ts>2012-10-03 16:26:38 +0000</creation_ts>
          <short_desc>sstate: fetcher should download sstate packages directly to right prefix</short_desc>
          <delta_ts>2013-02-15 12:32:32 +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>1.4</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>normal</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Jansa">Martin.Jansa</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26162</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2012-10-03 16:26:38 +0000</bug_when>
    <thetext>First reported on ML
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-August/027125.html
and then also in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2897

The problem is that when someone is using SSTATE_MIRRORS then all packages are downloaded first to sstate-cache and then only symlink is created in right prefix.

So the problem why this prefix dir was added - number of entries in sstate-cache dir, get actually worse for people with SSTATE_MIRRORS (64^2 new directories - if all used). And they already had two times more entries, because fetcher stores .done file too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29842</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-02-14 21:39:59 +0000</bug_when>
    <thetext>Patches on the bitbake list to address these issues. file:// urls should just work. http mirrors need to be specified as:

SSTATE_MIRRORS = &quot;file://.* http://192.168.1.69/PATH;downloadfilename=PATH&quot;

Once the bitbake patches merge, we need to update local.conf.sample files and docs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29852</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-02-15 12:32:32 +0000</bug_when>
    <thetext>Fixed with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=21efb536089b1fd6f00c1174bb3fcdbc5dfd8870 and preceeding bitbake patches.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>