mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +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:
@@ -220,7 +220,7 @@ python do_package_deb () {
|
||||
basedir = os.path.join(os.path.dirname(root))
|
||||
|
||||
pkgoutdir = os.path.join(outdir, localdata.getVar('PACKAGE_ARCH', True))
|
||||
bb.mkdirhier(pkgoutdir)
|
||||
bb.utils.mkdirhier(pkgoutdir)
|
||||
|
||||
os.chdir(root)
|
||||
from glob import glob
|
||||
@@ -236,7 +236,7 @@ python do_package_deb () {
|
||||
continue
|
||||
|
||||
controldir = os.path.join(root, 'DEBIAN')
|
||||
bb.mkdirhier(controldir)
|
||||
bb.utils.mkdirhier(controldir)
|
||||
os.chmod(controldir, 0755)
|
||||
try:
|
||||
ctrlfile = open(os.path.join(controldir, 'control'), 'w')
|
||||
|
||||
Reference in New Issue
Block a user