<?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>6762</bug_id>
          
          <creation_ts>2014-09-25 13:03:48 +0000</creation_ts>
          <short_desc>Bitbake should have option to disable md5sum check on downloaded file (set in SRC_URI)</short_desc>
          <delta_ts>2014-10-10 18:15: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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>All</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.7 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gatis Paeglis">gatis.paeglis</reporter>
          <assigned_to name="Alejandro Hernandez">alejandro.hernandez</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45830</commentid>
    <comment_count>0</comment_count>
    <who name="Gatis Paeglis">gatis.paeglis</who>
    <bug_when>2014-09-25 13:03:48 +0000</bug_when>
    <thetext>Google fonts are packaged on demand, so for every download there is a new md5sum

For example opensans : 

https://www.google.com/fonts/download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ


so check of SRC_URI[md5sum]  will always fail.

Current workaround for this is:

do_fetch() {
    cd ${WORKDIR}
    wget -c https://www.google.com/fonts/download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ -O Open_Sans.zip
    unzip Open_Sans.zip -d Open_Sans
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45831</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-09-25 13:21:41 +0000</bug_when>
    <thetext>I think you can set BB_STRICT_CHECKSUM = &quot;0&quot; in the recipe to avoid needing one</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45832</commentid>
    <comment_count>2</comment_count>
    <who name="Gatis Paeglis">gatis.paeglis</who>
    <bug_when>2014-09-25 13:50:02 +0000</bug_when>
    <thetext>There is not such variable in the mega-manual http://www.yoctoproject.org/docs/1.6.1/mega-manual/mega-manual.html

Also I tried to set BB_STRICT_CHECKSUM = &quot;0&quot;, but it had no effect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46029</commentid>
    <comment_count>3</comment_count>
    <who name="Gatis Paeglis">gatis.paeglis</who>
    <bug_when>2014-10-02 12:46:19 +0000</bug_when>
    <thetext>Ok, setting BB_STRICT_CHECKSUM = &quot;&quot; to actually helps. But still, would be good to mention this in the mega manual.

So BB_STRICT_CHECKSUM = &quot;&quot; works fine to disable md5sum check, but BB_STRICT_CHECKSUM = &quot;0&quot; results in errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46088</commentid>
    <comment_count>4</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2014-10-03 15:46:53 +0000</bug_when>
    <thetext>It is documented on the Bitbake manual:

http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46127</commentid>
    <comment_count>5</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2014-10-06 15:49:04 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ff89dfb570ea730c9508b3fb5179a9acdc3f119a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46278</commentid>
    <comment_count>6</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2014-10-10 18:15:32 +0000</bug_when>
    <thetext>Disregard last comment, this is the correct commit:
http://git.openembedded.org/bitbake/commit/?id=b8ed2098bdea2afd93ab4e3e1b834f3a31cb60de</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>