Bug 2570

Summary: Bitbake Fetcher: Provide ability to rename downloaded files
Product: [Build System, Metadata & Runtime] BitBake Reporter: Nitin Kamble <nitin.a.kamble>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: corneliux.stoicescu, poky.bs.watcher, poky.watcher, ross.burton, sgw
Version: unspecified   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 2542    

Description Nitin Kamble 2012-06-08 22:51:11 UTC
For source URLs like this: 
   http://edc.ntel.com/Download.aspx?id=6190
provide ability to rename the downloaded file to file-names such as 
   LIN_IEGMGD_1_14_GOLD_2443.tgz
Comment 2 Stoicescu Cornel 2012-10-02 12:00:30 UTC
Verified in master: 

commit: 49649451cbe6ac3999aa337c4d9c2c622b76c178
Date:   Thu Sep 27 21:56:02 2012 +0000

1)Altered grep_2.9.bb:

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

2)#bitbake -c fetch grep

3)#ls build/downloads | grep test
test.tar.gz
test.tar.gz.done