<?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>6572</bug_id>
          
          <creation_ts>2014-07-24 17:32:40 +0000</creation_ts>
          <short_desc>BB_GENERATE_MIRROR_TARBALLS creates non-unique filenames</short_desc>
          <delta_ts>2014-07-25 16:22:44 +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>BitBake</product>
          <component>bitbake</component>
          <version>1.6.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Volker">lists.volker</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>44679</commentid>
    <comment_count>0</comment_count>
    <who name="Volker">lists.volker</who>
    <bug_when>2014-07-24 17:32:40 +0000</bug_when>
    <thetext>For releases we do the following steps:
1. download all files while having BB_GENERATE_MIRROR_TARBALLS=&quot;1&quot;
   bitbake -c fetchall &lt;imagename&gt;
2. move all downloaded files to the fileserver
   The fileserver folder can only create files and not modify them to catch
   all unexpected behaviour of overwritten files
3. set yocto in offline mode (BB_NO_NETWORK) and use the folder of
   the file server via SOURCE_MIRROR_URL

This way we are sure that every build is repeatable with local available files.

Now the files downloaded should never change like busybox-1.22.1.tar.bz2 and if
their is a change in the checksum the copy process fails (extra layer of check).

Now the git repositories management is different. File names do not contain the git hash value like
   git2_git.yoctoproject.org.linux-yocto-3.10.git.tar.gz
As result, it seem that if the hash changes, the file changes, too. Therefore, from my understanding, this file can change unexpectedly if the version stays the same but the git hash changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44718</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-07-25 16:22:44 +0000</bug_when>
    <thetext>The tarballs contain all the git metadata so they contain multiple hashes. The filenames do contain all the other configuration information such as the location of the repository.

From a build reproducibility standpoint, the git checkouts are of specific revisions set by the recipes, if that revision were unavailable the build would fail.

So yes, these tarballs are updated but this shouldn&apos;t be an issue, in general only extra metadata would get added to them.

Obviously if you have them set to AUTOREV, it will not select specific revisions and this is not suited to release purposes but we&apos;d simply not recommend doing that.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>