mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02: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:
parent
6f8dd36ca0
commit
0b838bbc1e
|
@ -70,7 +70,7 @@ class Sdk(object, metaclass=ABCMeta):
|
|||
#FIXME: using umbrella exc catching because bb.utils method raises it
|
||||
except Exception as e:
|
||||
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):
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user