mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
Fix FuncFailed construction
(Bitbake rev: 085e66f9c14123ea2c0f1e34f7737cf77071f86d) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
136a631b2e
commit
666513982f
@@ -188,7 +188,7 @@ def exec_func_python(func, d, runfile, logfile):
|
|||||||
if sys.exc_info()[0] in (bb.parse.SkipPackage, bb.build.FuncFailed):
|
if sys.exc_info()[0] in (bb.parse.SkipPackage, bb.build.FuncFailed):
|
||||||
raise
|
raise
|
||||||
|
|
||||||
raise FuncFailed(func, d, logfile)
|
raise FuncFailed(func, logfile)
|
||||||
|
|
||||||
|
|
||||||
def exec_func_shell(func, d, runfile, logfile, flags):
|
def exec_func_shell(func, d, runfile, logfile, flags):
|
||||||
@@ -231,7 +231,7 @@ def exec_func_shell(func, d, runfile, logfile, flags):
|
|||||||
if ret == 0:
|
if ret == 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
raise FuncFailed(func, d, logfile)
|
raise FuncFailed(func, logfile)
|
||||||
|
|
||||||
|
|
||||||
def exec_task(fn, task, d):
|
def exec_task(fn, task, d):
|
||||||
|
|||||||
Reference in New Issue
Block a user