diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-17 09:02:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-17 22:31:29 +0000 |
commit | 9e7a6492010aa2de65310d6fa13290068e7cadb1 (patch) | |
tree | 178a1f40043b2a71dd25f14130c7b63b89f86ea5 | |
parent | fead6005b56f53535967476cc752691316e02183 (diff) | |
download | openembedded-core-9e7a6492010aa2de65310d6fa13290068e7cadb1.tar.gz openembedded-core-9e7a6492010aa2de65310d6fa13290068e7cadb1.tar.bz2 openembedded-core-9e7a6492010aa2de65310d6fa13290068e7cadb1.zip |
package_tar: bb.mkdirhier -> bb.utils.mkdirhier
Fix deprecated function reference.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/package_tar.bbclass | 8 |
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) |