<?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>2686</bug_id>
          
          <creation_ts>2012-07-03 19:44:54 +0000</creation_ts>
          <short_desc>linux-yocto/linux-yocto-custom: support low bandwidth options</short_desc>
          <delta_ts>2013-04-11 11:17:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Kernel</product>
          <component>linux-yocto</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>In design (revival of old code). 1.4 M2</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bruce Ashfield">bruce.ashfield</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>andreea.b.proca</cc>
    
    <cc>jessica.zhang</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>22763</commentid>
    <comment_count>0</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-07-03 19:44:54 +0000</bug_when>
    <thetext>To support low bandwidth configurations it is desirable to have options
for avoiding the full korg clone. This can be done via:

  a) shared/reference clones
  b) shallow clones
  c) git initialized repos based on a tgz

It should be noted that a) and b) can be fully functional linux-yocto repositories, 
while c) cannot.  As such, the tgz option can be an enhancement to linux-yocto-custom, 
but will not be a promoted method, since it goes against several best 
practices and kernel workflow options .. it also has a not insignificant
carrying cost.

Option c) only supports minimal configuration fragments and no git based 
merge options or feature descriptions. 

Options a) and b) are not currently planned for 1.3, but are listed here to be
complete and as options for 1.3+ (in particular option a)).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25607</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-09-24 14:41:20 +0000</bug_when>
    <thetext>Update: in case it isn&apos;t clear, this one is going to wait until 1.4, since we
don&apos;t want (yet again) something completely different for the kernel. 

It makes sense to wait for the fetcher changes with shallow clones, or 
other similar options before adding this support, since it is essentially
free after that.

tgz support can be considered and stacked AFTER the initial low bandwidth
options are working, since most of the issues with the revision chain not
being complete will already be tested and solved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29119</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2013-01-24 04:35:26 +0000</bug_when>
    <thetext>tgz support is possible with linux-yocto-custom, shallow clones are still not
available, so we&apos;ll go with plan B for now. This still isn&apos;t ideal, but it does
fit the linux-yocto-custom model, so we can live with it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29527</commentid>
    <comment_count>3</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2013-02-05 16:04:27 +0000</bug_when>
    <thetext>kernel-yocto/linux-yocto-custom: support low bandwidth options

To support configurations where active development is not being done within
the oe/bitbake build environment and restricted bandwidth situations, this
commit allows the SRC_URI to point to a kernel tgz instead of a full git
repository.

Outside of the upstream tgz instead of a kernel git repository, the
restrictions, config and patch process is the same as any linux-yocto-custom
recipe.

An example linux-yocto-custom based recipe would have a configuration like
this to build the 3.7 kernel, using an externally supplied config, from the
3.7 tgz:

  SRC_URI = &quot;http://kernel.org/pub/linux/kernel/v3.0/linux-3.7.tar.bz2&quot;
  PV = &quot;3.7&quot;
  S = &quot;${WORKDIR}/linux-3.7&quot;
  SRC_URI[md5sum] = &quot;5323f3faadd051e83af605a63be5ea2e&quot;
  SRC_URI[sha256sum] = &quot;dc08d87a579fe2918362e6666e503a95a76296419195cb499aa9dd4dbe171a9e&quot;

[YOCTO #2686]

(From OE-Core rev: 08b3a282ce75a9972694f0c4379179505b9ec91f)

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31905</commentid>
    <comment_count>4</comment_count>
    <who name="Andreea Brandusa Proca">andreea.b.proca</who>
    <bug_when>2013-04-11 11:17:59 +0000</bug_when>
    <thetext>Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>