[oe] SRC_URI fetching problem

Martyn Welch martyn.welch at ge.com
Mon Mar 15 10:42:50 UTC 2010


Steffen Sledz wrote:
> Martyn Welch wrote:
>   
>> Steffen Sledz wrote:
>>     
>>> I work at a recipe for rsyslog (http://www.rsyslog.com) and hit a
>>> problem with the wget fetcher.
>>>
>>> The download uri for rsyslog-5.4.0.tar.gz does not contain the archive
>>> name itself but is http://www.rsyslog.com/Downloads-req-getit-lid-197.phtml.
>>>
>>> If i set
>>>
>>> SRC_URI = "http://www.rsyslog.com/Downloads-req-getit-lid-197.phtml"
>>> SRC_URI[archive.md5sum] = "291882229d50496f42bd63174076dd37"
>>> SRC_URI[archive.sha256sum] = "d9cd21d2fcd45fcae65eb0a51927c40315cca02afdc62478abd950febfcf7228"
>>>       
>> At a guess you need to add ";name=archive" to the end of your SRC_URI.
>>     
>
> Nope, same behaviour. :(
>
> BTW: The ";name=" option is not documented in the user manual at
> <http://docs.openembedded.org/usermanual/usermanual.html>.
>   

Neither is the relatively new mechanism for incuding the md5sum and
sha256sum in the recipe. Unless you add the "name" parameter (or the
md5sum and sha256sum for that SRC_URI happens to already be in
checksum.ini) you will probably see another failure when it attempts to
validate the archive it has been downloaded. Either way, I think Thomas'
suggestion may be right.

Martyn

-- 
Martyn Welch (Principal Software Engineer)   |   Registered in England and
GE Intelligent Platforms                     |   Wales (3828642) at 100
T +44(0)127322748                            |   Barbirolli Square, Manchester,
E martyn.welch at ge.com                        |   M2 3AB  VAT:GB 927559189





More information about the Openembedded-devel mailing list