[oe] Problems on openembedded/conf/checksums.ini

Cheng Renquan crquan at gmail.com
Tue Apr 14 08:43:32 UTC 2009


Hello, all:
  I don't really understand why there is absolute path of checksums in
openembedded/conf/checksums.ini, such as

[ftp://ftp.gnu.org/gnu/m4/m4-1.4.12.tar.gz]
md5=0499a958a561781b125c740f18061ea8
sha256=47e8f9a33ba06fa6710b42d6f6ded41f45027f6f4039b0a3ed887c5116bc2173

the absolute path m4-1.4.12.tar.gz even includes the site base and the path,
I don't know why and how to avoid that,

Here at China, the master site ftp.gnu.org is not much fast,
fortunately I can find a mirror
to download instead, from the "GNU FTP Mirror List"

http://www.gnu.org/prep/ftp.html

such as, http://ftp.twaren.net/Unix/GNU/gnu/

but after I downloaded m4-1.4.12.tar.gz into ~/sources/, the bitbake
cannot recognize it
and download it again,

I try to change openembbed/conf/bitbake.conf from

GNU_MIRROR = "ftp://ftp.gnu.org/gnu"

to

GNU_MIRROR = "http://ftp.twaren.net/Unix/GNU/gnu"

but the checksum will fail, just because the absolute path containing
the whole URL,

I think this problem is easier to solve by modifying bitbake and
checksums.ini to use only
the last basename, but I'm curious if there is already someone resolved that?

Or someone knows how to use a local mirror, and make the checksum working?

My using bitbake is svn checkout'ed from
svn://svn.berlios.de/bitbake/branches/bitbake-1.8

Thanks,

-- 
Cheng Renquan (程任全), from Shenzhen, China




More information about the Openembedded-devel mailing list