sanity.bbclass: check the format of MIRRORS
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 22 Aug 2014 08:31:27 +0000 (01:31 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Aug 2014 22:01:57 +0000 (23:01 +0100)
commit5416978ae305a038d30c26e6d8c8d81860fce77d
tree070c2f784883490c9ec63b5c72f007edb58f0b8f
parent205b64da67a83ddf320e15182c57d3efdd138452
sanity.bbclass: check the format of MIRRORS

Check the format of MIRRORS, PREMIRRORS and SSTATE_MIRRORS:
* Each mirror shoudl contain two memebers.
* The local "file://" url must use absolute path (file:///).
* The protocol must in protocols list.

(From OE-Core rev: c8c213bb25b137cf70ba8ce9a45e60065d926735)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass