mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
sdk.py: error out when moving file fails
Instead of printing an error message and continuing, we should just error out when moving file fails. (From OE-Core rev: 12aecd9da94b5f27041982c661e8bab316d365d4) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ class Sdk(object, metaclass=ABCMeta):
|
|||||||
#FIXME: using umbrella exc catching because bb.utils method raises it
|
#FIXME: using umbrella exc catching because bb.utils method raises it
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
bb.debug(1, "printing the stack trace\n %s" %traceback.format_exc())
|
bb.debug(1, "printing the stack trace\n %s" %traceback.format_exc())
|
||||||
bb.error("unable to place %s in final SDK location" % sourcefile)
|
bb.fatal("unable to place %s in final SDK location" % sourcefile)
|
||||||
|
|
||||||
def mkdirhier(self, dirpath):
|
def mkdirhier(self, dirpath):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user