bitbake: fetch2: Update replace_uri to handle uri types explicitly
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jun 2012 16:37:22 +0000 (16:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Jun 2012 12:10:34 +0000 (13:10 +0100)
commitfbea624ea691113e713a2b38ce0079ae2428bb60
tree3057cb8eb50828dae288a41941b0698d2793ccbc
parent206b2e4ea0480ef3dc49637a24c367064232ca00
bitbake: fetch2: Update replace_uri to handle uri types explicitly

For mirror mapping, we never use regexps for the type component of
the url. Doing so causes various slightly bizarre behaviour such as
https:// urls being translated to files:// urls which we have no handler
for. This patch forces the type matches to be direct, not regexp based
and gives the expected bahvriour.

(From Poky rev: 695d8aca0999d2d61970b990e83c3132ba6f12cb)

(Bitbake rev: 604df1b25cf114e083f52917df2df64e01279c25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/__init__.py