mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
meta/classes: Update classes to use new fetcher API
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user