<?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>7009</bug_id>
          
          <creation_ts>2014-12-02 13:18:33 +0000</creation_ts>
          <short_desc>Rename downloaded file feature is not working</short_desc>
          <delta_ts>2014-12-09 14:29:14 +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.5.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Costin">costin.c.constantin</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          <qa_contact name="Costin">costin.c.constantin</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Found by QA test)</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>47285</commentid>
    <comment_count>0</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2014-12-02 13:18:33 +0000</bug_when>
    <thetext>Hello, 

While performing tests for 1.5.4 RC1, I noticed that renaming downloaded file is not working. This applies to &quot;TC 171 - Rename downloaded file&quot;.

TC content:
&quot;
1.Edit the grep recipe (grep*.bb)
2.Edit the line below by modifying the value of &quot;downloadfilename&quot; variable into &quot;test.tar.gz&quot; as presented below:
  (mcedit ../meta/recipes-extended/grep/grep_2.16.bb)

SRC_URI = &quot;${GNU_MIRROR}/grep/grep-${PV}.tar.gz;downloadfilename=test.tar.gz&quot;
 

3.Run &quot;bitbake -c fetch grep&quot; which will download the grep package.
4.Run &quot;ls build/downloads | grep test&quot; and you should be provided with the following two files as result:
test.tar.gz
test.tar.gz.done
&quot;

Runtime and post execution:

Build Configuration:
BB_VERSION        = &quot;1.20.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-14.10&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.5.4&quot;
TUNE_FEATURES     = &quot;m32 i586&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;(detachedfromde14d21):de14d21bc6633ddeb810cef051b91ee322276496&quot;

...

cosscat@ubnt:/media/poky/3poky/build$ cd downloads/
cosscat@ubnt:/media/poky/3poky/build/downloads$ ls
grep-2.14.tar.xz  grep-2.14.tar.xz.done

Regards,

Costin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47287</commentid>
    <comment_count>1</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2014-12-02 13:38:25 +0000</bug_when>
    <thetext>Hello,

I also tested this on a Fedora 20 and same behaviour.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47366</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-12-04 15:42:06 +0000</bug_when>
    <thetext>Could be related to http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=4ae598195b60ea5a4c0a3efaded679208e1cc07e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47460</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-12-09 14:29:14 +0000</bug_when>
    <thetext>This isn&apos;t being reported from usage in the wild and works in later releases so marking as WONTFIX.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>