mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
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>
This commit is contained in:
@@ -20,7 +20,7 @@ def emit_terminal_func(command, envdata, d):
|
||||
runfmt = d.getVar('BB_RUNFMT', True) or "run.{func}.{pid}"
|
||||
runfile = runfmt.format(func=cmd_func, task=cmd_func, taskfunc=cmd_func, pid=os.getpid())
|
||||
runfile = os.path.join(d.getVar('T', True), runfile)
|
||||
bb.mkdirhier(os.path.dirname(runfile))
|
||||
bb.utils.mkdirhier(os.path.dirname(runfile))
|
||||
|
||||
with open(runfile, 'w') as script:
|
||||
script.write('#!/bin/sh -e\n')
|
||||
|
||||
Reference in New Issue
Block a user