diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-01 08:52:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-01 15:51:42 +0100 |
commit | 554c892ccf16ca564e7be94f84eaa73667170e15 (patch) | |
tree | 01b74616570ebd473abf6bb287cdfcfbd797d41b /meta/classes/package_ipk.bbclass | |
parent | 6d9e3a19384cbd737fdac729c6c0de5b06f8ec12 (diff) | |
download | poky-554c892ccf16ca564e7be94f84eaa73667170e15.tar.gz |
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.
(From OE-Core rev: 6a39835af2b2b3c7797fe05479341d71a3f3aaf6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 68ffc62583..a633cfcc76 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -253,7 +253,7 @@ python do_package_ipk () { | |||
253 | basedir = os.path.join(os.path.dirname(root)) | 253 | basedir = os.path.join(os.path.dirname(root)) |
254 | arch = localdata.getVar('PACKAGE_ARCH', True) | 254 | arch = localdata.getVar('PACKAGE_ARCH', True) |
255 | pkgoutdir = "%s/%s" % (outdir, arch) | 255 | pkgoutdir = "%s/%s" % (outdir, arch) |
256 | bb.mkdirhier(pkgoutdir) | 256 | bb.utils.mkdirhier(pkgoutdir) |
257 | os.chdir(root) | 257 | os.chdir(root) |
258 | from glob import glob | 258 | from glob import glob |
259 | g = glob('*') | 259 | g = glob('*') |
@@ -268,7 +268,7 @@ python do_package_ipk () { | |||
268 | continue | 268 | continue |
269 | 269 | ||
270 | controldir = os.path.join(root, 'CONTROL') | 270 | controldir = os.path.join(root, 'CONTROL') |
271 | bb.mkdirhier(controldir) | 271 | bb.utils.mkdirhier(controldir) |
272 | try: | 272 | try: |
273 | ctrlfile = open(os.path.join(controldir, 'control'), 'w') | 273 | ctrlfile = open(os.path.join(controldir, 'control'), 'w') |
274 | except OSError: | 274 | except OSError: |