]> code.ossystems Code Review - openembedded-core.git/commit
uninative: Add fetch capability
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jan 2016 13:05:21 +0000 (13:05 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Jan 2016 23:04:40 +0000 (23:04 +0000)
commit89097d2d7bf058136b01ec982b9453b49052b1d8
tree25a99076b15aa799af466ed88ab766a20432eeeb
parentb65ab3a38093023310b2f17251b27471cf857561
uninative: Add fetch capability

Originally, the idea was that the init environment would handle
fetching or providing the binary shim that uninative needs.

This turns out to be ugly, especially when you consider proxy
environments and so on getting involved. Instead, lets therefore
support our fetcher which already handles all this.

The distro is expected to setup configuration like:

UNINATIVE_URL ?= "http://mydomain/mypath/"
UNINATIVE_CHECKSUM[i586] =
"md5sum1"
UNINATIVE_CHECKSUM[x86_64] = "md5sum2"

and then it should all work if the user inherits the uninative class.

This patch also improves the error handling in the class to give more
user readable error messages.

If the shim binary is already provided, the system will just use that
and ignore the url information.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/uninative.bbclass