public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* Two recipes with the same file name for the SRC_URI
@ 2013-02-01  9:35 Lukas Bulwahn
  2013-02-01 10:32 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Lukas Bulwahn @ 2013-02-01  9:35 UTC (permalink / raw)
  To: openembedded-core

Hi all,

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.


Lukas




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Two recipes with the same file name for the SRC_URI
  2013-02-01  9:35 Two recipes with the same file name for the SRC_URI Lukas Bulwahn
@ 2013-02-01 10:32 ` Burton, Ross
  2013-02-01 13:49   ` Lukas Bulwahn
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2013-02-01 10:32 UTC (permalink / raw)
  To: Lukas Bulwahn; +Cc: openembedded-core

On 1 February 2013 09:35, Lukas Bulwahn <lukas.bulwahn@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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Two recipes with the same file name for the SRC_URI
  2013-02-01 10:32 ` Burton, Ross
@ 2013-02-01 13:49   ` Lukas Bulwahn
  0 siblings, 0 replies; 3+ messages in thread
From: Lukas Bulwahn @ 2013-02-01 13:49 UTC (permalink / raw)
  To: Burton, Ross; +Cc: openembedded-core

On 02/01/2013 11:32 AM, Burton, Ross wrote:
> 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)
>
The downloadfilename option worked. Thanks a lot for your help.

Lukas



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-01 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-01  9:35 Two recipes with the same file name for the SRC_URI Lukas Bulwahn
2013-02-01 10:32 ` Burton, Ross
2013-02-01 13:49   ` Lukas Bulwahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox