meta/classes: Update classes to use new fetcher API

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-02-04 13:20:28 +00:00
parent ca7adf7529
commit 984e90f4d7
5 changed files with 63 additions and 189 deletions

View File

@@ -58,9 +58,8 @@ python patch_do_patch() {
continue
if not local:
bb.fetch.init([url],d)
url = bb.encodeurl((type, host, path, user, pswd, []))
local = os.path.join('/', bb.fetch.localpath(url, d))
local = os.path.join('/', bb.fetch2.localpath(url, d))
local = bb.data.expand(local, d)
if "striplevel" in parm: