summaryrefslogtreecommitdiffstats
path: root/meta/classes/terminal.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-01 08:52:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-01 15:51:42 +0100
commit554c892ccf16ca564e7be94f84eaa73667170e15 (patch)
tree01b74616570ebd473abf6bb287cdfcfbd797d41b /meta/classes/terminal.bbclass
parent6d9e3a19384cbd737fdac729c6c0de5b06f8ec12 (diff)
downloadpoky-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/terminal.bbclass')
-rw-r--r--meta/classes/terminal.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/terminal.bbclass b/meta/classes/terminal.bbclass
index 591b4acf6d..efbc4eb9ae 100644
--- a/meta/classes/terminal.bbclass
+++ b/meta/classes/terminal.bbclass
@@ -20,7 +20,7 @@ def emit_terminal_func(command, envdata, d):
20 runfmt = d.getVar('BB_RUNFMT', True) or "run.{func}.{pid}" 20 runfmt = d.getVar('BB_RUNFMT', True) or "run.{func}.{pid}"
21 runfile = runfmt.format(func=cmd_func, task=cmd_func, taskfunc=cmd_func, pid=os.getpid()) 21 runfile = runfmt.format(func=cmd_func, task=cmd_func, taskfunc=cmd_func, pid=os.getpid())
22 runfile = os.path.join(d.getVar('T', True), runfile) 22 runfile = os.path.join(d.getVar('T', True), runfile)
23 bb.mkdirhier(os.path.dirname(runfile)) 23 bb.utils.mkdirhier(os.path.dirname(runfile))
24 24
25 with open(runfile, 'w') as script: 25 with open(runfile, 'w') as script:
26 script.write('#!/bin/sh -e\n') 26 script.write('#!/bin/sh -e\n')