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:
@@ -45,9 +45,9 @@ python do_spdx () {
|
||||
cur_ver_code = get_ver_code( info['sourcedir'] )
|
||||
cache_cur = False
|
||||
if not os.path.exists( spdx_sstate_dir ):
|
||||
bb.mkdirhier( spdx_sstate_dir )
|
||||
bb.utils.mkdirhier( spdx_sstate_dir )
|
||||
if not os.path.exists( info['spdx_temp_dir'] ):
|
||||
bb.mkdirhier( info['spdx_temp_dir'] )
|
||||
bb.utils.mkdirhier( info['spdx_temp_dir'] )
|
||||
if os.path.exists( sstatefile ):
|
||||
## cache for this package exists. read it in
|
||||
cached_spdx = get_cached_spdx( sstatefile )
|
||||
|
||||
Reference in New Issue
Block a user