yocto-bsp: Fix git url parsing, allowing for local mirrors
authorDarren Hart <dvhart@linux.intel.com>
Thu, 18 Oct 2012 14:23:23 +0000 (14:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 24 Oct 2012 11:48:24 +0000 (12:48 +0100)
commitc66b71a8348af40582864629daaad60410be969b
tree4de2a9e0a1b1ce84c24ea8dc21cf7ac39ba2603e
parentfa9f00bc9759929a30b7628d572f58f88a5d496e
yocto-bsp: Fix git url parsing, allowing for local mirrors

The git URLs used in bitbake recipes are not compatible directly with git.  In
bitbake-speak, all git URLs start with git:// and the protocol is optionally
specified in the SRC_URI. Local git mirrors are specified like so:

    git:///path/to/local/mirror.git;protocol=file

The URL that git requires would be:

    file:///path/to/local/mirror.git

Update the yocto-bsp kernel.py to make the necessary adjustment when parsing
the SRC_URI to extract the git URL.

(From meta-yocto rev: 30506f51cc95f0994cf54144295832e931d15f61)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: evadeflow@gmail.com
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/bsp/kernel.py