mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
meta: Don't use deprecated bitbake API
These have been deprecated for a long time, convert the remaining references to the correct modules and prepare for removal of the compatibility support from bitbake. (From OE-Core rev: 6a39835af2b2b3c7797fe05479341d71a3f3aaf6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -594,7 +594,7 @@ def package_qa_check_license(workdir, d):
|
||||
srcdir = d.getVar('S', True)
|
||||
|
||||
for url in lic_files.split():
|
||||
(type, host, path, user, pswd, parm) = bb.decodeurl(url)
|
||||
(type, host, path, user, pswd, parm) = bb.fetch.decodeurl(url)
|
||||
srclicfile = os.path.join(srcdir, path)
|
||||
if not os.path.isfile(srclicfile):
|
||||
raise bb.build.FuncFailed( pn + ": LIC_FILES_CHKSUM points to an invalid file: " + srclicfile)
|
||||
|
||||
Reference in New Issue
Block a user