summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package_tar.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/package_tar.bbclass b/meta/classes/package_tar.bbclass
index 475c898daf..27cddaacd1 100644
--- a/meta/classes/package_tar.bbclass
+++ b/meta/classes/package_tar.bbclass
@@ -19,13 +19,13 @@ python do_package_tar () {
if not outdir:
bb.error("DEPLOY_DIR_TAR not defined, unable to package")
return
- bb.mkdirhier(outdir)
+ bb.utils.mkdirhier(outdir)
dvar = d.getVar('D', True)
if not dvar:
bb.error("D not defined, unable to package")
return
- bb.mkdirhier(dvar)
+ bb.utils.mkdirhier(dvar)
packages = d.getVar('PACKAGES', True)
if not packages:
@@ -49,10 +49,10 @@ python do_package_tar () {
bb.data.update_data(localdata)
root = localdata.getVar('ROOT')
- bb.mkdirhier(root)
+ bb.utils.mkdirhier(root)
basedir = os.path.dirname(root)
pkgoutdir = outdir
- bb.mkdirhier(pkgoutdir)
+ bb.utils.mkdirhier(pkgoutdir)
bb.build.exec_func('package_tar_fn', localdata)
tarfn = localdata.getVar('PKGFN', True)
os.chdir(root)