[OE-core] Two recipes with the same file name for the SRC_URI

Burton, Ross ross.burton at intel.com
Fri Feb 1 10:32:19 UTC 2013


On 1 February 2013 09:35, Lukas Bulwahn <lukas.bulwahn at oss.bmw-carit.de> wrote:
> I ran into the following issue with bitbake:
> I have two recipes, where the SRC_URI of both recipes have the same file
> name (but of course, different URLs), e.g. SRC_URI =
> "http://foo.com/src.tar.gz" and SRC_URI = "http://bar.com/src.tar.gz".
>
> Now when I want to fetch both of them, bitbake does not download both of
> them because they have the same name, and it assumes the file is already
> downloaded if one of the files is downloaded.
> Is there an option to set the local file name after downloading in the
> recipe? The OpenEmbedded Manual does not mention any.
>
> Or is there another way to solve the problem? Using Google and searching
> through the manual did not help me.

Try the "downloadfilename" option, i.e.
http://bar.com/src.tar.gz;downloadfilename=bar-src.tar.gz"

(if this works, it should be added to the manual)

Ross




More information about the Openembedded-core mailing list