fetch2: enable checksum definition as SRC_URI parameter
authorJoshua Lock <josh@linux.intel.com>
Tue, 11 Oct 2011 16:42:13 +0000 (09:42 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Oct 2011 16:35:42 +0000 (17:35 +0100)
commit6b85b9f617ef266d794891217780c951d5ff6081
tree61e243dc90c71c9a8120ac3aafcd3073ae360a5e
parentf48f30ef4fb49195df501aa2b1951970330483aa
fetch2: enable checksum definition as SRC_URI parameter

URI parameters should be able to be defined as a parameter of the SRC_URI,
this patch enables thus for checksums.

An example;

SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz;md5sum=a3270bab3f4b69b7dc6dbdacbcae9745;sha256sum=3ba691ee2431f32ccb8efa131e59bf23e37f122dc66791309023ca6dcefcd10e"

Addresses the remainder of [YOCTO #1399]

(Bitbake rev: 5f8f923b76722c9b6c7ffbe19e94df50f900155f)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/__init__.py