diff options
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r-- | meta/classes/package_deb.bbclass | 4 |
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 () { | |||
220 | basedir = os.path.join(os.path.dirname(root)) | 220 | basedir = os.path.join(os.path.dirname(root)) |
221 | 221 | ||
222 | pkgoutdir = os.path.join(outdir, localdata.getVar('PACKAGE_ARCH', True)) | 222 | pkgoutdir = os.path.join(outdir, localdata.getVar('PACKAGE_ARCH', True)) |
223 | bb.mkdirhier(pkgoutdir) | 223 | bb.utils.mkdirhier(pkgoutdir) |
224 | 224 | ||
225 | os.chdir(root) | 225 | os.chdir(root) |
226 | from glob import glob | 226 | from glob import glob |
@@ -236,7 +236,7 @@ python do_package_deb () { | |||
236 | continue | 236 | continue |
237 | 237 | ||
238 | controldir = os.path.join(root, 'DEBIAN') | 238 | controldir = os.path.join(root, 'DEBIAN') |
239 | bb.mkdirhier(controldir) | 239 | bb.utils.mkdirhier(controldir) |
240 | os.chmod(controldir, 0755) | 240 | os.chmod(controldir, 0755) |
241 | try: | 241 | try: |
242 | ctrlfile = open(os.path.join(controldir, 'control'), 'w') | 242 | ctrlfile = open(os.path.join(controldir, 'control'), 'w') |