summaryrefslogtreecommitdiff
path: root/meta/classes/package_deb.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-01 08:52:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-01 15:51:36 +0100
commit6a39835af2b2b3c7797fe05479341d71a3f3aaf6 (patch)
tree62168efbc801dfa127498c369e07261f11a278e9 /meta/classes/package_deb.bbclass
parent56d144fd22d37189e49cdf3032afb00f0be469c6 (diff)
downloadopenembedded-core-6a39835af2b2b3c7797fe05479341d71a3f3aaf6.tar.gz
openembedded-core-6a39835af2b2b3c7797fe05479341d71a3f3aaf6.tar.bz2
openembedded-core-6a39835af2b2b3c7797fe05479341d71a3f3aaf6.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r--meta/classes/package_deb.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 068c11a535..765e894526 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -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')