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:32:04 +0000 |
commit | 7e629a36c9c401c7ccd9a550301f8f2c927d6b6a (patch) | |
tree | 7c4f40dc557f8ae9862b9d2831337461649bd265 /meta | |
parent | 398a6dcc84cc64cbee6bb991cbd1ac566b6d65d3 (diff) | |
download | ast2050-yocto-poky-7e629a36c9c401c7ccd9a550301f8f2c927d6b6a.zip ast2050-yocto-poky-7e629a36c9c401c7ccd9a550301f8f2c927d6b6a.tar.gz |
package_tar: bb.mkdirhier -> bb.utils.mkdirhier
Fix deprecated function reference.
(From OE-Core rev: 9e7a6492010aa2de65310d6fa13290068e7cadb1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 475c898..27cddaa 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) |