Bug 2570 - Bitbake Fetcher: Provide ability to rename downloaded files
Summary: Bitbake Fetcher: Provide ability to rename downloaded files
Status: VERIFIED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low enhancement
Target Milestone: 1.3 M4
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 2542
  Show dependency tree
 
Reported: 2012-06-08 22:51 UTC by Nitin Kamble
Modified: 2012-10-02 12:00 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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