All of lore.kernel.org
 help / color / mirror / Atom feed
* Proper way to rename a downloaded file in SRC_URI
@ 2017-07-18 16:40 Jimi Damon
  2017-07-18 16:47 ` Paul Eggleton
  2017-07-18 16:53 ` Leonardo Sandoval
  0 siblings, 2 replies; 3+ messages in thread
From: Jimi Damon @ 2017-07-18 16:40 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]

I have a recipe that I built for building jzmq, however one of the 
issues I have is with the naming of the release files from the github site.

Unlike czmq which has downloads ( zip and tar.gz ) that are named 
czmq-${PV}.tar.gz, the downloads from jzmq are just called v${PV}.tar.gz.


How can I rename this file upon download so that the filename is in fact 
unique to this package ?

I can definitely see that the file v3.1.0.tar.gz in my downloads 
directory is not unique and could conflict with another package that is 
similarly named for its releases.


My workaround right now is to use the specific SHA string and use the 
git:// protocol, but it would be a bit easier to just use the released 
version and change the filename for saving it in downloads.





[-- Attachment #2: Type: text/html, Size: 1214 bytes --]

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

end of thread, other threads:[~2017-07-18 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-18 16:40 Proper way to rename a downloaded file in SRC_URI Jimi Damon
2017-07-18 16:47 ` Paul Eggleton
2017-07-18 16:53 ` Leonardo Sandoval

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.